[Python-checkins] r67982 - in python/trunk: Include/pymacconfig.h Misc/NEWS
benjamin.peterson
python-checkins at python.org
Sun Dec 28 16:37:31 CET 2008
Author: benjamin.peterson
Date: Sun Dec 28 16:37:31 2008
New Revision: 67982
Log:
fix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728
Modified:
python/trunk/Include/pymacconfig.h
python/trunk/Misc/NEWS
Modified: python/trunk/Include/pymacconfig.h
==============================================================================
--- python/trunk/Include/pymacconfig.h (original)
+++ python/trunk/Include/pymacconfig.h Sun Dec 28 16:37:31 2008
@@ -15,6 +15,8 @@
# undef SIZEOF_SIZE_T
# undef SIZEOF_TIME_T
# undef SIZEOF_VOID_P
+# undef SIZEOF__BOOL
+# undef WORDS_BIGENDIAN
# undef VA_LIST_IS_ARRAY
# if defined(__LP64__) && defined(__x86_64__)
@@ -28,12 +30,19 @@
# undef SIZEOF_LONG
# ifdef __LP64__
+# define SIZEOF__BOOL 1
+# define SIZEOF__BOOL 1
# define SIZEOF_LONG 8
# define SIZEOF_PTHREAD_T 8
# define SIZEOF_SIZE_T 8
# define SIZEOF_TIME_T 8
# define SIZEOF_VOID_P 8
# else
+# ifdef __ppc__
+# define SIZEOF__BOOL 4
+# else
+# define SIZEOF__BOOL 1
+# endif
# define SIZEOF_LONG 4
# define SIZEOF_PTHREAD_T 4
# define SIZEOF_SIZE_T 4
@@ -54,6 +63,11 @@
# endif
+#ifdef __BIG_ENDIAN__
+#define WORDS_BIGENDIAN 1
+#endif /* __BIG_ENDIAN */
+
+
#endif /* defined(_APPLE__) */
#endif /* PYMACCONFIG_H */
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Sun Dec 28 16:37:31 2008
@@ -204,6 +204,8 @@
Build
-----
+- Issues #4728 and #4060: WORDS_BIGEDIAN is now correct in Universal builds.
+
- Issue #4389: Add icon to the uninstall entry in "add-and-remove-programs".
- Issue #4289: Remove Cancel button from AdvancedDlg.
More information about the Python-checkins
mailing list