Changeset 377 in Main for trunk


Ignore:
Timestamp:
Oct 17, 2024, 7:17:48 PM (4 weeks ago)
Author:
Nishi
Message:

trying to fix bsdi port

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/server.c

    r364 r377  
    108108#endif
    109109
    110 #if defined(_PSP) || defined(__ps2sdk__)
     110#if defined(_PSP) || defined(__ps2sdk__) || defined(__bsdi__)
    111111#include "strptime.h"
    112112#endif
     
    621621                                        struct tm* btm;
    622622                                        strptime(req.headers[i + 1], "%a, %d %b %Y %H:%M:%S GMT", &tm);
    623 #if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) || defined(__NeXT__)
     623#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) || defined(__NeXT__) || defined(__bsdi__)
    624624                                        t = 0;
    625625                                        btm = localtime(&t);
  • trunk/Server/strptime.c

    r359 r377  
    3636//__RCSID("$NetBSD: strptime.c,v 1.62 2017/08/24 01:01:09 ginsbach Exp $");
    3737
    38 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__NeXT__)
     38#if defined(__MINGW32__) || defined(_MSC_VER || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__NeXT__) || defined(__bsdi__)
    3939
    4040#include <stdlib.h>
  • trunk/config_platform.h

    r359 r377  
    8686#endif
    8787
     88#if defined(__bsdi__) && !defined(NO_IPV6)
     89#define NO_IPV6
     90#endif
     91
     92#if defined(__bsdi__) && defined(USE_POLL)
     93#undef USE_POLL
     94#endif
     95
    8896#endif
    8997
Note: See TracChangeset for help on using the changeset viewer.