Back to index

tetex-bin  3.0
aconf2.h
Go to the documentation of this file.
00001 /*
00002  * aconf2.h
00003  *
00004  * This gets included by aconf.h, and contains miscellaneous global
00005  * settings not directly controlled by autoconf.  This is a separate
00006  * file because otherwise the configure script will munge any
00007  * #define/#undef constructs.
00008  *
00009  * Copyright 2002-2003 Glyph & Cog, LLC
00010  */
00011 
00012 #ifndef ACONF2_H
00013 #define ACONF2_H
00014 
00015 /*
00016  * This controls the use of the interface/implementation pragmas.
00017  */
00018 #ifdef __GNUC__
00019 #define USE_GCC_PRAGMAS
00020 #endif
00021 /* There is a bug in the version of gcc which ships with MacOS X 10.2 */
00022 #if defined(__APPLE__) && defined(__MACH__)
00023 #  include <AvailabilityMacros.h>
00024 #endif
00025 #ifdef MAC_OS_X_VERSION_MAX_ALLOWED
00026 #  if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2
00027 #    undef USE_GCC_PRAGMAS
00028 #  endif
00029 #endif
00030 
00031 /*
00032  * Make sure WIN32 is defined if appropriate.
00033  */
00034 #if defined(_WIN32) && !defined(WIN32)
00035 #  define WIN32
00036 #endif
00037 
00038 #endif