From 5acf99d7db3e763e29a1e4746162cc5957e94243 Mon Sep 17 00:00:00 2001 From: Nishi Date: Mon, 14 Oct 2024 17:43:25 +0000 Subject: [PATCH] trying to add nextstep support git-svn-id: file:///raid/svn-personal/tewi/trunk@324 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Platform/nextstep.mk | 2 +- Server/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/nextstep.mk b/Platform/nextstep.mk index 77b3506..e0d1c54 100644 --- a/Platform/nextstep.mk +++ b/Platform/nextstep.mk @@ -2,7 +2,7 @@ CC = cc AR = ar -CFLAGS = -g -DPREFIX=\"$(PREFIX)\" -I ../VC6Compat -I $(PWD)/Common -D_POSIX_SOURCE -D_XOPEN_SOURCE=600 -Duint64_t=uint32_t +CFLAGS = -g -DPREFIX=\"$(PREFIX)\" -I ../VC6Compat -I $(PWD)/Common -D_POSIX_SOURCE -D_XOPEN_SOURCE=600 -Duint64_t=uint32_t -DREALLY_OLD LDFLAGS = LIBS = -ldl EXEC = diff --git a/Server/main.c b/Server/main.c index bc5f7ce..3658e91 100644 --- a/Server/main.c +++ b/Server/main.c @@ -74,7 +74,7 @@ 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__) +#elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__USLC__) || defined(REALLY_OLD) #include void STDERR_LOG(const char* format, ...) { -- 2.43.0