2f6e8d86d7
Submitted by: KATO Tsuguru <tkato@prontomail.com> PR: ports/44225
38 lines
801 B
Text
38 lines
801 B
Text
--- 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
|