osX define uint64_t as long long int
authorMatthieu Patou <mat@matws.net>
Sat, 8 Sep 2012 07:12:51 +0000 (00:12 -0700)
committerMatthieu Patou <mat@samba.org>
Mon, 10 Sep 2012 03:57:21 +0000 (05:57 +0200)
lib/replace/replace.h

index fa7cc78fa4e2445989afa37bc8d169f66293b373..c7f9c711757bb2d0fffab3f027cc99d78ba942b8 100644 (file)
@@ -61,7 +61,7 @@
 #endif
 
 #ifndef __PRI64_PREFIX
-# if __WORDSIZE == 64
+# if __WORDSIZE == 64 && ! defined __APPLE__
 #  define __PRI64_PREFIX       "l"
 # else
 #  define __PRI64_PREFIX       "ll"