From 45b7ab6b59f4a1982181327ac6393c09ffbbbbd0 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Sat, 18 Feb 2012 17:20:53 +0100 Subject: [PATCH] gcc on Windows does not know about strtok_s. --- src/interfaces/ecpg/ecpglib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0