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


Ignore:
Timestamp:
Oct 4, 2024, 1:08:58 PM (6 weeks ago)
Author:
Nishi
Message:

get listdir working [release 2.03E]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config.h.tmpl

    r253 r255  
    1010#define USE_POLL
    1111#define HAS_CHROOT
    12 #undef NO_GETADDRINFO
     12#undef NO_GETNAMEINFO
    1313#undef USE_WINSOCK1
    1414#undef BUILD_GUI
     
    2929#endif
    3030
    31 #if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_WINSOCK1) && !defined(NO_GETADDRINFO)
    32 #define NO_GETADDRINFO
    33 /* getaddrinfo is not on winsock 1 */
     31#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && defined(USE_WINSOCK1) && !defined(NO_GETNAMEINFO)
     32#define NO_GETNAMEINFO
     33/* getnameinfo is not on winsock 1 */
    3434#endif
    3535
     
    3939#endif
    4040
    41 #if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETADDRINFO)
    42 #define NO_GETADDRINFO
    43 /* Do not use getaddrinfo */
     41#if (defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)) && !defined(NO_GETNAMEINFO)
     42#define NO_GETNAMEINFO
     43/* Do not use getnameinfo */
    4444#endif
    4545
     
    5959#endif
    6060
    61 #if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETADDRINFO)
    62 #define NO_GETADDRINFO
    63 /* PSP/PS2/PS3 should not have getaddrinfo */
     61#if (defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__)) && !defined(NO_GETNAMEINFO)
     62#define NO_GETNAMEINFO
     63/* PSP/PS2/PS3 should not have getnameinfo */
    6464#endif
    6565
Note: See TracChangeset for help on using the changeset viewer.