]>
Commit | Line | Data |
---|---|---|
d75f8e61 FL |
1 | #ifndef __MSVC__HEAD |
2 | #define __MSVC__HEAD | |
3 | ||
d75f8e61 FL |
4 | #include <direct.h> |
5 | #include <process.h> | |
6 | #include <malloc.h> | |
7b05949b | 7 | #include <io.h> |
d75f8e61 FL |
8 | |
9 | /* porting function */ | |
10 | #define inline __inline | |
11 | #define __inline__ __inline | |
12 | #define __attribute__(x) | |
d27525e5 | 13 | #define strcasecmp _stricmp |
386ac451 MSO |
14 | #define strncasecmp _strnicmp |
15 | #define ftruncate _chsize | |
d0f9dbb9 RJ |
16 | #define strtoull _strtoui64 |
17 | #define strtoll _strtoi64 | |
d75f8e61 | 18 | |
d75f8e61 | 19 | #undef ERROR |
b6f714f8 | 20 | |
b6f714f8 RJ |
21 | #include "compat/mingw.h" |
22 | ||
d75f8e61 | 23 | #endif |