From: Nishi Date: Thu, 10 Oct 2024 02:02:03 +0000 (+0000) Subject: add X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=62556094e9cac5c647c3b1205cbe39233866b475;p=tewi.git add git-svn-id: file:///raid/svn-personal/tewi/trunk@299 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Platform/unixware.mk b/Platform/unixware.mk index d3f2343..3323d8b 100644 --- a/Platform/unixware.mk +++ b/Platform/unixware.mk @@ -1,8 +1,8 @@ # $Id$ -CC = gcc +CC = cc AR = ar -CFLAGS = -g -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -D_DEFAULT_SOURCE -fPIC -D_XOPEN_SOURCE=600 +CFLAGS = -g -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -I $(PWD)/VC6Compat LDFLAGS = LIBS = EXEC = diff --git a/Server/main.c b/Server/main.c index c107608..84b3d4c 100644 --- a/Server/main.c +++ b/Server/main.c @@ -67,7 +67,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__) +#elif defined(_MSC_VER) || defined(__BORLANDC__) || defined(__UNIXWARE__) void STDERR_LOG(const char* format, ...) { va_list args; va_start(args, format);