]> www.fi.muni.cz Git - evince.git/blob - pdf/aconf2.h
Import of Xpdf 2.03
[evince.git] / pdf / aconf2.h
1 /*
2  * aconf2.h
3  *
4  * This gets included by aconf.h, and contains miscellaneous global
5  * settings not directly controlled by autoconf.  This is a separate
6  * file because otherwise the configure script will munge any
7  * #define/#undef constructs.
8  *
9  * Copyright 2002-2003 Glyph & Cog, LLC
10  */
11
12 #ifndef ACONF2_H
13 #define ACONF2_H
14
15 /*
16  * This controls the use of the interface/implementation pragmas.
17  */
18 #ifdef __GNUC__
19 #define USE_GCC_PRAGMAS
20 #endif
21 /* There is a bug in the version of gcc which ships with MacOS X 10.2 */
22 #if defined(__APPLE__) && defined(__MACH__)
23 #  include <AvailabilityMacros.h>
24 #endif
25 #ifdef MAC_OS_X_VERSION_MAX_ALLOWED
26 #  if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2
27 #    undef USE_GCC_PRAGMAS
28 #  endif
29 #endif
30
31 /*
32  * Make sure WIN32 is defined if appropriate.
33  */
34 #if defined(_WIN32) && !defined(WIN32)
35 #  define WIN32
36 #endif
37
38 #endif