Add missing user and sender types to example client's dump code
[libisds.git] / test / simline / win32.h
blob9d806bab831e9422c1defcfa4639d79604a190fd
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"
8 #ifdef __GNUC__
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)
12 #else
13 #define strtok_r strtok_s
14 #endif
16 struct tm *gmtime_r(const time_t *timep, struct tm *result);
18 // disabled under MinGW by -std=c99
19 _CRTIMP char* __cdecl __MINGW_NOTHROW strdup (const char*) __MINGW_ATTRIB_MALLOC;
21 #endif