Skip to content
Snippets Groups Projects
Commit e3155c97 authored by Michael Meskes's avatar Michael Meskes
Browse files

Windows doesn't have strtok_r, so let's use strtok_s instead.

parent 5e7710e7
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,10 @@
#include "extern.h"
#include "sqlca.h"
#ifdef WIN32
#define strtok_r(s,d,p) strtok_s(s,d,p)
#endif
#ifdef ENABLE_THREAD_SAFETY
static pthread_mutex_t connections_mutex = PTHREAD_MUTEX_INITIALIZER;
static pthread_key_t actual_connection_key;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment