]> Nishi Git Mirror - tewi.git/commitdiff
trying
authorNishi <nishi@nishi.boats>
Thu, 17 Oct 2024 10:14:19 +0000 (10:14 +0000)
committerNishi <nishi@nishi.boats>
Thu, 17 Oct 2024 10:14:19 +0000 (10:14 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@375 8739d7e6-ffea-ec47-b151-bdff447c6205

Platform/bsdi.mk
VC6Compat/stdint.h

index 450f3507f0fef0955cd4a1443d7fc149b7cd1691..96dffc9fbb87b12e719bb81a15071ae6b4a66fbb 100644 (file)
@@ -2,7 +2,7 @@
 
 CC = cc
 AR = ar
-CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I ../VC6Compat -I $(PWD)/Common -fPIC
+CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -I ../VC6Compat -fPIC
 LDFLAGS =
 LIBS =
 EXEC =
index 4c58f85c9766c3bf30bead571878138a28c89182..36bd48368ae2c858892cba2d3c009242f750b65f 100644 (file)
@@ -3,6 +3,11 @@
 #ifndef __STDINT_H__
 #define __STDINT_H__
 
+#ifdef __bsdi__
+typedef u_int8_t uint8_t;
+typedef u_int16_t short uint16_t;
+typedef u_int32_t uint32_t;
+#else
 typedef unsigned char uint8_t;
 typedef unsigned short uint16_t;
 typedef unsigned int uint32_t;
@@ -11,5 +16,6 @@ typedef short int16_t;
 typedef int int32_t;
 
 #define INT32_MAX 0x7fffffff
+#endif
 
 #endif