forked from Rupan/comskip
-
Notifications
You must be signed in to change notification settings - Fork 3
/
comskip.h
46 lines (38 loc) · 811 Bytes
/
comskip.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
#ifndef COMSKIP
#define COMSKIP
#define COMSKIPVERSION "0.81"
#define SUBVERSION "056-TYA Edition"
#endif
#define _UNICODE
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /** autoconf generated config.h */
#define bool int
#define true 1
#define false 0
// define Sleep
#ifndef _WIN32
#define Sleep(x) sleep(x)
#define _getcwd(x, y) getcwd(x, y)
#endif
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifdef __GNUC__
/* gcc */
typedef long long __int64;
#else
/* msvc or clang */
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif
#ifndef _WIN32
#if defined(_WIN64)
typedef __int64 LONG_PTR;
#else
typedef long LONG_PTR;
#endif
#endif