summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf/xpdf-3.04/aconf2.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-3.04/aconf2.h')
-rw-r--r--Build/source/libs/xpdf/xpdf-3.04/aconf2.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-3.04/aconf2.h b/Build/source/libs/xpdf/xpdf-3.04/aconf2.h
new file mode 100644
index 00000000000..59a1740ab93
--- /dev/null
+++ b/Build/source/libs/xpdf/xpdf-3.04/aconf2.h
@@ -0,0 +1,31 @@
+/*
+ * aconf2.h
+ *
+ * This gets included by aconf.h, and contains miscellaneous global
+ * settings not directly controlled by autoconf. This is a separate
+ * file because otherwise the configure script will munge any
+ * #define/#undef constructs.
+ *
+ * Copyright 2002-2003 Glyph & Cog, LLC
+ */
+
+#ifndef ACONF2_H
+#define ACONF2_H
+
+/*
+ * This controls the use of the interface/implementation pragmas.
+ */
+#ifdef __GNUC__
+#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 <AvailabilityMacros.h>
+#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
+
+#endif