]> Git repositories of Nishi - tewi.git/commitdiff
fix compat headers
authorNishi <nishi@nishi.boats>
Thu, 10 Oct 2024 02:06:20 +0000 (02:06 +0000)
committerNishi <nishi@nishi.boats>
Thu, 10 Oct 2024 02:06:20 +0000 (02:06 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@301 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/main.c
VC6Compat/stdint.h

index ca10e0e5d8fb0f3ddc0d89796765544fb62d8721..ba4ade2529c100b92341f670239b3db77b534786 100644 (file)
@@ -68,6 +68,8 @@ PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_USER);
 #define printf(...) tt_printf(__VA_ARGS__)
 #define STDERR_LOG(...) tt_printf(__VA_ARGS__)
 #elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__USLC__)
+#include <stdarg.h>
+
 void STDERR_LOG(const char* format, ...) {
        va_list args;
        va_start(args, format);
index 6cfba411edd0a22497de93e3a904926cc960ccbe..4c58f85c9766c3bf30bead571878138a28c89182 100644 (file)
@@ -6,9 +6,9 @@
 typedef unsigned char uint8_t;
 typedef unsigned short uint16_t;
 typedef unsigned int uint32_t;
-typedef signed char int8_t;
-typedef signed short int16_t;
-typedef signed int int32_t;
+typedef char int8_t;
+typedef short int16_t;
+typedef int int32_t;
 
 #define INT32_MAX 0x7fffffff