Changeset 215 in Main for trunk/Server/module.c
- Timestamp:
- Oct 3, 2024, 4:24:43 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/module.c
r212 r215 12 12 #include <string.h> 13 13 #include <stdlib.h> 14 #if ndef _MSC_VER14 #if !defined(_MSC_VER) && !defined(__BORLANDC__) 15 15 #include <unistd.h> 16 16 #endif … … 27 27 #else 28 28 29 #if defined(__MINGW32__) || defined(_MSC_VER) 29 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) 30 30 #include <windows.h> 31 31 #else … … 37 37 void* lib; 38 38 chdir(config.server_root); 39 #if defined(__MINGW32__) || defined(_MSC_VER) 39 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) 40 40 lib = LoadLibraryA(path); 41 41 #else … … 51 51 52 52 void* tw_module_symbol(void* mod, const char* sym) { 53 #if defined(__MINGW32__) || defined(_MSC_VER) 53 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) 54 54 return GetProcAddress(mod, sym); 55 55 #else
Note:
See TracChangeset
for help on using the changeset viewer.