64bit fixes.
[AROS-Contrib.git] / arospdf / aconf2.h
blobb51de1e9cb6d1cbc6662b964aa4472894ebd803c
1 /*
2 * aconf2.h
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.
9 * Copyright 2002-2003 Glyph & Cog, LLC
12 #ifndef ACONF2_H
13 #define ACONF2_H
16 * This controls the use of the interface/implementation pragmas.
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
32 * Make sure WIN32 is defined if appropriate.
34 #if defined(_WIN32) && !defined(WIN32)
35 # define WIN32
36 #endif
38 #endif