From: Nishi Date: Thu, 17 Oct 2024 10:14:19 +0000 (+0000) Subject: trying X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=4e4941950adbe50d1e7308d873c59c609defac1c;p=tewi.git trying git-svn-id: file:///raid/svn-personal/tewi/trunk@375 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Platform/bsdi.mk b/Platform/bsdi.mk index 450f350..96dffc9 100644 --- a/Platform/bsdi.mk +++ b/Platform/bsdi.mk @@ -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 = diff --git a/VC6Compat/stdint.h b/VC6Compat/stdint.h index 4c58f85..36bd483 100644 --- a/VC6Compat/stdint.h +++ b/VC6Compat/stdint.h @@ -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