diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-16 08:58:17 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-16 08:58:17 +0100 |
commit | 3b425b8bf0c58e25da576ed86496171ea19240f9 (patch) | |
tree | 37d6feb715dd929392fb16fdde6cf994dfbc1397 /include/fitz/sysdep.h | |
parent | 49132f70ac40b2dc7b9a0e22b33a3964af687874 (diff) | |
download | mupdf-3b425b8bf0c58e25da576ed86496171ea19240f9.tar.xz |
removed c99-isms. improved bbox handling.
Diffstat (limited to 'include/fitz/sysdep.h')
-rw-r--r-- | include/fitz/sysdep.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/fitz/sysdep.h b/include/fitz/sysdep.h index 3e0f3232..dd4b8fd3 100644 --- a/include/fitz/sysdep.h +++ b/include/fitz/sysdep.h @@ -14,11 +14,17 @@ #include <errno.h> #include <fcntl.h> /* O_RDONLY & co */ -#ifdef _ISOC99_SOURCE -#elif __GNUC__ -#define restrict __restrict__ +#ifdef HAVE_C99 + +#define FZ_FLEX + #else + +#define FZ_FLEX 0 #define restrict +#define inline __inline__ +#define va_copy(a,b) (a) = (b) + #endif #ifdef WIN32 @@ -50,7 +56,10 @@ #else +#ifndef O_BINARY #define O_BINARY 0 +#endif + #include <unistd.h> #endif |