-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinttypes.h
47 lines (38 loc) · 893 Bytes
/
inttypes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef _INTTYPES_H
#define _INTTYPES_H
#include <stdint.h>
typedef int64_t int64;
typedef uint64_t uint64;
typedef int ssize_t;
typedef int mode_t;
#include <direct.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <errno.h>
#include <io.h>
#include <stdlib.h>
#define HAVE__MKDIR 1
#define HAVE_MEMSET 1
#define EMPTY_ARRAY_SIZE 1
#define PSS "\\"
#define PATH_MAX _MAX_PATH
#define LSB_FIRST
#define _MSC_VER_ICKY_TYPES
#pragma warning( disable: 4996 ) //disable "The POSIX name for this item is deprecated"
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define snprintf _snprintf
#define fstat _fstat
#define close _close
#define open _open
#define lseek _lseek
#define read _read
#ifdef __cplusplus
#define INLINE inline
#else
#define INLINE _inline
#define inline _inline
#endif
#endif