Changeset 212 in Main for trunk/config.h.tmpl


Ignore:
Timestamp:
Oct 3, 2024, 2:44:55 AM (6 weeks ago)
Author:
Nishi
Message:

compiles on vc6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config.h.tmpl

    r189 r212  
    1818#endif
    1919
    20 #if defined(__MINGW32__) && defined(USE_POLL)
     20#if (defined(__MINGW32__) || defined(_MSC_VER)) && defined(USE_POLL)
    2121#undef USE_POLL
    2222/* Force select(2) for Windows */
    2323#endif
    2424
    25 #if defined(__MINGW32__) && defined(HAS_CHROOT)
     25#if (defined(__MINGW32__) || defined(_MSC_VER)) && defined(HAS_CHROOT)
    2626#undef HAS_CHROOT
    2727/* Windows should not have chroot */
     28#endif
     29
     30#if defined(_MSC_VER) && !defined(NO_GETADDRINFO)
     31#define NO_GETADDRINFO
     32/* Do not use getaddrinfo */
    2833#endif
    2934
Note: See TracChangeset for help on using the changeset viewer.