[Python-checkins] r86379 - python/branches/py3k-cdecimal/Modules/cdecimal/mptypes.h

stefan.krah python-checkins at python.org
Tue Nov 9 23:39:45 CET 2010


Author: stefan.krah
Date: Tue Nov  9 23:39:45 2010
New Revision: 86379

Log:
Fix warnings on Snow-Leopard.

Modified:
   python/branches/py3k-cdecimal/Modules/cdecimal/mptypes.h

Modified: python/branches/py3k-cdecimal/Modules/cdecimal/mptypes.h
==============================================================================
--- python/branches/py3k-cdecimal/Modules/cdecimal/mptypes.h	(original)
+++ python/branches/py3k-cdecimal/Modules/cdecimal/mptypes.h	Tue Nov  9 23:39:45 2010
@@ -15,7 +15,7 @@
 #endif
 
 #if defined(CONFIG_64)
-  #if defined(_MSC_VER) || defined(__OpenBSD__)
+  #if defined(_MSC_VER) || defined(__OpenBSD__) || defined(__APPLE__)
     #define PRI_mpd_size_t "llu"
     #define PRI_mpd_ssize_t "lld"
   #else


More information about the Python-checkins mailing list