Move the definition for 'strtok_r' (to avoid clashing with a different definition in pthread_win32)
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#ifdef COMPILER_MINGW
|
||||
#include <io.h> // For W_OK
|
||||
#define strtok_r strtok_s
|
||||
#endif
|
||||
|
||||
#include <glibmm/fileutils.h>
|
||||
@@ -50,10 +51,6 @@
|
||||
#include <regex.h>
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
#define strtok_r strtok_s
|
||||
#endif
|
||||
|
||||
#include "pbd/compose.h"
|
||||
#include "pbd/file_utils.h"
|
||||
#include "pbd/debug.h"
|
||||
|
||||
Reference in New Issue
Block a user