Skip to content

Commit 45b7ab6

Browse files
author
Michael Meskes
committed
gcc on Windows does not know about strtok_s.
1 parent e3155c9 commit 45b7ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/ecpglib/connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "extern.h"
1111
#include "sqlca.h"
1212

13-
#ifdef WIN32
13+
#ifdef WIN32_ONLY_COMPILER
1414
#define strtok_r(s,d,p) strtok_s(s,d,p)
1515
#endif
1616

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy