win32 uses strtok_s not strtok_r
authorSteve Singer <ssinger@ca.afilias.info>
Mon, 19 Jan 2015 01:28:48 +0000 (20:28 -0500)
committerSteve Singer <ssinger@ca.afilias.info>
Mon, 19 Jan 2015 13:18:59 +0000 (08:18 -0500)
src/slon/types.h

index b720793a9afc474b0d01d480f6958426b517fbe2..40efc7dc4469d995e09a735bac2184b3822181da 100644 (file)
@@ -86,6 +86,7 @@ typedef char bool;
 
 #ifdef _MSC_VER
 #define va_copy(aq,ap) aq=ap
+#define strtok_r(a,b,c) strtok_s(a,b,c)
 #endif
 
 #ifdef HAVE_LL_CONSTANTS