Merge branch 'ma/asciidoctor'
[git.git] / compat / msvc.h
blob29a8ce820435d5c67dd5fd9bc23dab0c2e7d8394
1 #ifndef __MSVC__HEAD
2 #define __MSVC__HEAD
4 #include <direct.h>
5 #include <process.h>
6 #include <malloc.h>
7 #include <io.h>
9 /* porting function */
10 #define inline __inline
11 #define __inline__ __inline
12 #define __attribute__(x)
13 #define strcasecmp _stricmp
14 #define strncasecmp _strnicmp
15 #define ftruncate _chsize
16 #define strtoull _strtoui64
17 #define strtoll _strtoi64
19 #undef ERROR
21 #include "compat/mingw.h"
23 #endif