projects
/
ctsim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
r284: rename if-1 to if1
[ctsim.git]
/
include
/
msvc_compat.h
1
#ifndef __MSVC_COMPAT_H
2
#define __MSVC_COMPAT_H
3
4
#ifdef MSVC
5
typedef long off_t;
6
#define HAVE_STRING_H 1
7
#define HAVE_VSNPRINTF 1
8
#include <fcntl.h>
9
#define strdup _strdup
10
#define strcasecmp _stricmp
11
#define strncasecmp _strnicmp
12
#define snprintf _snprintf
13
#define vsnprintf _vsnprintf
14
#endif
15
#endif