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


Ignore:
Timestamp:
Oct 4, 2024, 2:34:27 PM (6 weeks ago)
Author:
Nishi
Message:

[release 2.04] can read mime.types from apache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/main.c

    r255 r257  
    8787int startup(int argc, char** argv);
    8888
    89 #if defined(__MINGW32__) || defined(_MSC_VER)
     89#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__)
    9090char* get_registry(const char* main, const char* sub) {
    9191        DWORD bufsize = 512;
     
    711711        int i;
    712712        char* r;
    713 #if defined(__MINGW32__) || defined(_MSC_VER)
     713#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__)
    714714        char* confpath = cm_strdup(PREFIX "/etc/tewi.conf");
    715715        char* regpath = get_registry("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Tewi HTTPd", "InstallDir");
Note: See TracChangeset for help on using the changeset viewer.