Update for OSX build issues.
[m6w6/libmemcached] / libmemcached-1.0 / memcached.h
index fa9661528002e9f3712ace1f0679065d678c9213..23462a760bf97f672571d20fb873d0a0be60af0e 100644 (file)
@@ -38,7 +38,9 @@
 #pragma once
 
 /* This seems to be required for older compilers @note http://stackoverflow.com/questions/8132399/how-to-printf-uint64-t  */
-#define __STDC_FORMAT_MACROS
+#ifndef __STDC_FORMAT_MACROS
+#  define __STDC_FORMAT_MACROS
+#endif
 
 #ifdef __cplusplus
 #  include <tr1/cinttypes>