Changeset 215 in Main for trunk/Server/main.c
- Timestamp:
- Oct 3, 2024, 4:24:43 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/main.c
r213 r215 5 5 #include "../config.h" 6 6 7 #ifndef _MSC_VER 7 #ifdef __BORLANDC__ 8 9 #pragma resource "tewi_bcc.res" 10 11 #endif 12 13 #if !defined(_MSC_VER) && !defined(__BORLANDC__) 8 14 #include <unistd.h> 9 15 #endif … … 25 31 #include "tw_version.h" 26 32 27 #if defined(__MINGW32__) || defined(_MSC_VER) 33 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) 28 34 #include <windows.h> 29 35 #endif … … 62 68 #define printf(...) tt_printf(__VA_ARGS__) 63 69 #define STDERR_LOG(...) tt_printf(__VA_ARGS__) 64 #elif defined(_MSC_VER) 70 #elif defined(_MSC_VER) || defined(__BORLANDC__) 65 71 void STDERR_LOG(const char* format, ...) { 66 72 va_list args; … … 784 790 cm_force_log(r); 785 791 free(r); 786 #if !defined(__MINGW32__) && !defined(_MSC_VER) 792 #if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__) 787 793 signal(SIGCHLD, SIG_IGN); 788 794 signal(SIGPIPE, SIG_IGN);
Note:
See TracChangeset
for help on using the changeset viewer.