Changeset 215 in Main for trunk/Server/main.c


Ignore:
Timestamp:
Oct 3, 2024, 4:24:43 AM (6 weeks ago)
Author:
Nishi
Message:

can be compiled using bcc32 now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/main.c

    r213 r215  
    55#include "../config.h"
    66
    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__)
    814#include <unistd.h>
    915#endif
     
    2531#include "tw_version.h"
    2632
    27 #if defined(__MINGW32__) || defined(_MSC_VER)
     33#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__)
    2834#include <windows.h>
    2935#endif
     
    6268#define printf(...) tt_printf(__VA_ARGS__)
    6369#define STDERR_LOG(...) tt_printf(__VA_ARGS__)
    64 #elif defined(_MSC_VER)
     70#elif defined(_MSC_VER) || defined(__BORLANDC__)
    6571void STDERR_LOG(const char* format, ...) {
    6672        va_list args;
     
    784790        cm_force_log(r);
    785791        free(r);
    786 #if !defined(__MINGW32__) && !defined(_MSC_VER)
     792#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__)
    787793        signal(SIGCHLD, SIG_IGN);
    788794        signal(SIGPIPE, SIG_IGN);
Note: See TracChangeset for help on using the changeset viewer.