From bd0fbb5bd4ce0939f7dd8dc0976df027d9a32442 Mon Sep 17 00:00:00 2001 From: prabatuty Date: Sun, 27 Mar 2011 19:05:11 +0000 Subject: [PATCH] windows porting build fix for linux --- src/odbc/odbcDbc.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/odbc/odbcDbc.cxx b/src/odbc/odbcDbc.cxx index 78e94e1f..684e4d50 100644 --- a/src/odbc/odbcDbc.cxx +++ b/src/odbc/odbcDbc.cxx @@ -7,7 +7,9 @@ CSqlOdbcDbc::SQLConnect(); */ -#define strtok_r strtok_s +#ifdef WINNT +#define strtok_r strtok +#endif #include "odbcCommon.h" #include -- 2.11.4.GIT