1
0
mirror of https://github.com/git/git.git synced 2024-10-01 00:12:47 +02:00
git/compat/msvc.h

26 lines
446 B
C
Raw Normal View History

#ifndef __MSVC__HEAD
#define __MSVC__HEAD
#include <direct.h>
#include <process.h>
#include <malloc.h>
#include <io.h>
/* porting function */
#define inline __inline
#define __inline__ __inline
#define __attribute__(x)
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define ftruncate _chsize
#define strtoull _strtoui64
#define strtoll _strtoi64
#undef ERROR
typedef int sigset_t;
#include "compat/mingw.h"
#endif