compat.h: Re-taxonomize one item.

git-svn-id: https://svn.eduke32.com/eduke32@6091 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-03-23 03:03:26 +00:00
parent 28ad096e38
commit 30ef04893b

View file

@ -359,17 +359,6 @@ typedef ssize_t bssize_t;
typedef FILE BFILE;
#ifndef O_BINARY
# define O_BINARY 0
#endif
#ifndef O_TEXT
# define O_TEXT 0
#endif
#ifndef F_OK
# define F_OK 0
#endif
#define BO_BINARY O_BINARY
#define BO_TEXT O_TEXT
#define BO_RDONLY O_RDONLY
@ -568,6 +557,17 @@ static FORCE_INLINE int32_t Blrintf(const float x)
# define strtoll _strtoi64
#endif
#ifndef O_BINARY
# define O_BINARY 0
#endif
#ifndef O_TEXT
# define O_TEXT 0
#endif
#ifndef F_OK
# define F_OK 0
#endif
#ifdef GEKKO
# undef PRIdPTR
# define PRIdPTR "d"