forked from mirrors/tftp-hpa-google
-> Clean up the use of autoconf macros a bit.
-> Always pass O_TEXT/O_BINARY and "t"/"b" respectively, as appropriate.
This commit is contained in:
parent
5c5b5e8a0b
commit
64ae5fda79
7 changed files with 91 additions and 87 deletions
9
config.h
9
config.h
|
@ -109,6 +109,15 @@
|
|||
#define E_WOULD_BLOCK(x) ((x) == EWOULDBLOCK)
|
||||
#endif
|
||||
|
||||
/* Some broken systems care about text versus binary, but
|
||||
real Unix systems don't... */
|
||||
#ifndef HAVE_O_TEXT_DEFINITION
|
||||
#define O_TEXT 0
|
||||
#endif
|
||||
#ifndef HAVE_O_BINARY_DEFINITION
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
/* If we don't have intmax_t, try creating it */
|
||||
|
||||
#ifndef HAVE_INTMAX_T
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue