]> granicus.if.org Git - postgresql/blobdiff - src/pl/plpython/plpython.h
Clean up *printf macros to avoid conflict with format archetypes.
[postgresql] / src / pl / plpython / plpython.h
index aefbfc2f82b0c1d0170ab8087cbd11cd0cf90b2d..eaf3e4a154fdddcf9eeefa1fd84d05c306020ddb 100644 (file)
@@ -127,13 +127,8 @@ typedef int Py_ssize_t;
 #ifdef vsnprintf
 #undef vsnprintf
 #endif
-#ifdef __GNUC__
-#define vsnprintf(...) pg_vsnprintf(__VA_ARGS__)
-#define snprintf(...)  pg_snprintf(__VA_ARGS__)
-#else
 #define vsnprintf                              pg_vsnprintf
 #define snprintf                               pg_snprintf
-#endif                                                 /* __GNUC__ */
 
 /*
  * Used throughout, and also by the Python 2/3 porting layer, so it's easier to