Author: mlytwyn
Date: Tue Oct 18 19:59:26 2016
New Revision: 40156

URL: http://svn.gna.org/viewcvs/gnustep?rev=40156&view=rev
Log:
Define PRIuPTR for MINGW64

Modified:
    
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h

Modified: 
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h?rev=40156&r1=40155&r2=40156&view=diff
==============================================================================
--- 
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h  
    (original)
+++ 
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h  
    Tue Oct 18 19:59:26 2016
@@ -47,6 +47,17 @@
 /* PA HP-UX kludge.  */
 #if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)
 #define PRIuPTR "lu"
+#endif
+
+/* MINGW 32/64 go here... */
+#if defined(__MINGW32__)
+/* NONE FOR NOW... */
+#endif
+#if defined(__MINGW64__)
+#if defined(PRIuPTR)
+#undef PRIuPTR
+#endif
+#define PRIuPTR "llu"
 #endif
 
 /* IRIX kludge.  */


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to