From: Michael Meskes Date: Sat, 18 Feb 2012 16:20:53 +0000 (+0100) Subject: gcc on Windows does not know about strtok_s. X-Git-Tag: REL9_2_BETA1~402 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45b7ab6b59f4a1982181327ac6393c09ffbbbbd0;p=postgresql gcc on Windows does not know about strtok_s. --- diff --git a/src/interfaces/ecpg/ecpglib/connect.c b/src/interfaces/ecpg/ecpglib/connect.c index ce6bbce156..716988c570 100644 --- a/src/interfaces/ecpg/ecpglib/connect.c +++ b/src/interfaces/ecpg/ecpglib/connect.c @@ -10,7 +10,7 @@ #include "extern.h" #include "sqlca.h" -#ifdef WIN32 +#ifdef WIN32_ONLY_COMPILER #define strtok_r(s,d,p) strtok_s(s,d,p) #endif