1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/emulators/snes9x/files/patch-ae

38 lines
810 B
Plaintext
Raw Normal View History

--- port.h.orig Mon Jan 24 16:13:54 2000
+++ port.h Wed Mar 8 23:09:50 2000
@@ -56,15 +56,15 @@
#ifndef snes9x_types_defined
#define snes9x_types_defined
-typedef unsigned char uint8;
-typedef unsigned short uint16;
-typedef unsigned int uint32;
-typedef unsigned char bool8;
-typedef signed char int8;
-typedef short int16;
+typedef u_int8_t uint8;
+typedef u_int16_t uint16;
+typedef u_int32_t uint32;
+typedef u_int8_t bool8;
+typedef int8_t int8;
+typedef int16_t int16;
#ifndef _WIN32
-typedef int int32;
-typedef long long int64;
+typedef int32_t int32;
+typedef int64_t int64;
#else
#ifndef WSAAPI
// winsock2.h typedefs int32 as well.
@@ -162,6 +162,10 @@
#ifdef __linux
#define TITLE "Snes9X: Linux"
+#endif
+
+#ifdef __FreeBSD__
+#define TITLE "Snes9X: FreeBSD"
#endif
#ifndef TITLE