X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Faconf2.h;h=b51de1e9cb6d1cbc6662b964aa4472894ebd803c;hb=810d8b0808591ebb17d4913da4d20e489e9b8cde;hp=379eea21dfede9b37974ffb384ee8a15e2326199;hpb=6112dfe4b45b0305c7a6f61bd8a847f69f892cbb;p=evince.git diff --git a/pdf/aconf2.h b/pdf/aconf2.h index 379eea21..b51de1e9 100644 --- a/pdf/aconf2.h +++ b/pdf/aconf2.h @@ -6,7 +6,7 @@ * file because otherwise the configure script will munge any * #define/#undef constructs. * - * Copyright 2002 Glyph & Cog, LLC + * Copyright 2002-2003 Glyph & Cog, LLC */ #ifndef ACONF2_H @@ -19,10 +19,20 @@ #define USE_GCC_PRAGMAS #endif /* There is a bug in the version of gcc which ships with MacOS X 10.2 */ +#if defined(__APPLE__) && defined(__MACH__) +# include +#endif #ifdef MAC_OS_X_VERSION_MAX_ALLOWED # if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 # undef USE_GCC_PRAGMAS # endif #endif +/* + * Make sure WIN32 is defined if appropriate. + */ +#if defined(_WIN32) && !defined(WIN32) +# define WIN32 +#endif + #endif