Changeset 219 in Main for trunk/Server/module.c


Ignore:
Timestamp:
Oct 3, 2024, 5:40:37 AM (6 weeks ago)
Author:
Nishi
Message:

add watcom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/module.c

    r217 r219  
    2727#else
    2828
    29 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__)
     29#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)
    3030#include <windows.h>
    3131#include <direct.h>
     
    3838        void* lib;
    3939        chdir(config.server_root);
    40 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__)
     40#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)
    4141        lib = LoadLibraryA(path);
    4242#else
     
    5252
    5353void* tw_module_symbol(void* mod, const char* sym) {
    54 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__)
     54#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)
    5555        return GetProcAddress(mod, sym);
    5656#else
Note: See TracChangeset for help on using the changeset viewer.