summaryrefslogtreecommitdiff
path: root/emulators/snes9x/files/patch-ae
blob: d5d078ee1a019b5b4b5d43712a6218db48423c2c (plain) (blame)
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
--- port.h.orig	Fri Jul 25 23:20:20 2003
+++ port.h	Sat Aug  9 01:14:02 2003
@@ -124,16 +124,16 @@
 #ifndef snes9x_types_defined
 #define snes9x_types_defined
 
-typedef unsigned char bool8;
+typedef u_int8_t bool8;
 
 #ifndef __WIN32__
-typedef unsigned char uint8;
-typedef unsigned short uint16;
-typedef signed char int8;
-typedef short int16;
-typedef int int32;
-typedef unsigned int uint32;
-typedef long long int64;
+typedef u_int8_t uint8;
+typedef u_int16_t uint16;
+typedef int8_t int8;
+typedef int16_t int16;
+typedef int32_t int32;
+typedef u_int32_t uint32;
+typedef int64_t int64;
 #else /* __WIN32__ */
 
 #ifdef __BORLANDC__
@@ -255,6 +255,10 @@
 
 #ifdef __linux
 #define TITLE "Snes9X: Linux"
+#endif
+
+#ifdef __FreeBSD__
+#define TITLE "Snes9X: FreeBSD"
 #endif
 
 #ifndef TITLE