[80448] trunk/dports/lang/python31/files/pyconfig.h-universal.ed

jmr at macports.org jmr at macports.org
Wed Jul 13 04:55:09 PDT 2011


Revision: 80448
          http://trac.macports.org/changeset/80448
Author:   jmr at macports.org
Date:     2011-07-13 04:55:08 -0700 (Wed, 13 Jul 2011)
Log Message:
-----------
python31: add more precautionary universal fixups for pyconfig.h - no rev bump because there's no indication that these actually caused problems

Modified Paths:
--------------
    trunk/dports/lang/python31/files/pyconfig.h-universal.ed

Modified: trunk/dports/lang/python31/files/pyconfig.h-universal.ed
===================================================================
--- trunk/dports/lang/python31/files/pyconfig.h-universal.ed	2011-07-13 11:35:27 UTC (rev 80447)
+++ trunk/dports/lang/python31/files/pyconfig.h-universal.ed	2011-07-13 11:55:08 UTC (rev 80448)
@@ -1,3 +1,17 @@
+/DOUBLE_IS_BIG_ENDIAN_IEEE754/c
+#ifdef __BIG_ENDIAN__
+#define DOUBLE_IS_BIG_ENDIAN_IEEE754 1
+#else
+/* #undef DOUBLE_IS_BIG_ENDIAN_IEEE754 */
+#endif
+.
+/DOUBLE_IS_LITTLE_ENDIAN_IEEE754/c
+#ifdef __LITTLE_ENDIAN__
+#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
+#else
+/* #undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754 */
+#endif
+.
 /HAVE_LARGEFILE_SUPPORT/c
 #ifdef __LP64__
 /* #undef HAVE_LARGEFILE_SUPPORT */
@@ -47,4 +61,18 @@
 #define SIZEOF_VOID_P 4
 #endif
 .
+/SIZEOF__BOOL/c
+#if defined(__LP64__) || !defined(__POWERPC__)
+#define SIZEOF__BOOL 1
+#else
+#define SIZEOF__BOOL 4
+#endif
+.
+/VA_LIST_IS_ARRAY/c
+#ifdef __LP64__
+#define VA_LIST_IS_ARRAY 1
+#else
+/* #undef VA_LIST_IS_ARRAY */
+#endif
+.
 w
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110713/71138a2d/attachment.html>


More information about the macports-changes mailing list