summaryrefslogtreecommitdiffhomepage
path: root/README
blob: e71fe9aeecb5a12bcc276591d4d71bb650b81e71 (plain)
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
48
49
50
51
52
53
54
55
56
57
58
portable type definitions for a free-standing environment
---------------------------------------------------------

COMPILERS
---------
+ gcc (midipix).
+ gcc (mingw).
+ clang.
+ MSVS.


USAGE
-----

(1) 32-bit free-standing environment
------------------------------------

#define __NT32
#include <psxtypes/psxtypes.h>


(2) 64-bit free-standing environment
------------------------------------

#define __NT64
#include <psxtypes/psxtypes.h>


(3) 32-bit free-standing WINAPI environment

#define MIDIPIX_WIN32
#include <psxtypes/psxtypes.h>


(4) 64-bit free-standing WINAPI environment

#define MIDIPIX_WIN64
#include <psxtypes/psxtypes.h>


(5) 32-bit WINAPI environment with a non-posix C library

#define MIDIPIX_WIN32
#define MIDIPIX_EXTERNAL_TYPES
#include <psxtypes/psxtypes.h>


(6) 64-bit WINAPI environment with a non-posix C library

#define MIDIPIX_WIN64
#define MIDIPIX_EXTERNAL_TYPES
#include <psxtypes/psxtypes.h>


(7) a standard POSIX development environment

#define __NATIVE_POSIX
#include <psxtypes/psxtypes.h>