Changeset 311 in Main for trunk/Server
- Timestamp:
- Oct 13, 2024, 10:23:22 AM (5 weeks ago)
- Location:
- trunk/Server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/config.c
r257 r311 16 16 #endif 17 17 18 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) 18 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__)) 19 19 #ifdef USE_WINSOCK1 20 20 #include <winsock.h> -
trunk/Server/main.c
r310 r311 31 31 #include "tw_version.h" 32 32 33 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)33 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__)) 34 34 #include <windows.h> 35 35 #endif … … 89 89 int startup(int argc, char** argv); 90 90 91 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__)91 #if defined(__MINGW32__) || defined(_MSC_VER) || (defined(__WATCOMC__) && !defined(__OS2__)) || defined(__BORLANDC__) 92 92 char* get_registry(const char* main, const char* sub) { 93 93 DWORD bufsize = 512; … … 718 718 int i; 719 719 char* r; 720 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__)720 #if defined(__MINGW32__) || defined(_MSC_VER) || (defined(__WATCOMC__) && !defined(__OS2__)) || defined(__BORLANDC__) 721 721 char* confpath = cm_strdup(PREFIX "/etc/tewi.conf"); 722 722 char* regpath = get_registry("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Tewi HTTPd", "InstallDir"); -
trunk/Server/server.c
r304 r311 33 33 #include <cm_dir.h> 34 34 35 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)35 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__)) 36 36 #ifndef NO_GETNAMEINFO 37 37 #include <ws2tcpip.h> -
trunk/Server/tw_config.h
r258 r311 15 15 #include <stdbool.h> 16 16 17 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)17 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__)) 18 18 #ifdef USE_WINSOCK1 19 19 #include <winsock.h>
Note:
See TracChangeset
for help on using the changeset viewer.