1 #ifndef __ISDS_WIN32_SYSTEM_H
2 #define __ISDS_WIN32_SYSTEM_H
4 #define mkdir(x,y) mkdir(x)
5 // FIXME: Get real implementation of nl_langinfo
6 #define nl_langinfo(x) "CP1250"
9 // MinGW provides neither strtok_r() nor strtok_s().
10 // For now, we can at least use strtok() because it's thread-safe in MSVCRT.
11 #define strtok_r(x,y,z) strtok(x,y)
13 #define strtok_r strtok_s
16 struct tm
*gmtime_r(const time_t *timep
, struct tm
*result
);
17 char *strndup(const char *s
, size_t n
);
19 // disabled under MinGW by -std=c99
20 _CRTIMP
char* __cdecl __MINGW_NOTHROW
strdup (const char*) __MINGW_ATTRIB_MALLOC
;