Changeset 241 in Main


Ignore:
Timestamp:
Oct 3, 2024, 3:13:22 PM (6 weeks ago)
Author:
Nishi
Message:

fix some warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/strptime.c

    r219 r241  
    4242#include <time.h>
    4343#include <stdint.h>
     44#include <strings.h>
    4445
    4546static const unsigned char *conv_num(const unsigned char *, int *, unsigned int, unsigned int);
     
    107108#define tzname              _tzname
    108109#define strncasecmp         _strnicmp
     110#endif
     111
     112#ifdef __WATCOMC__
     113#define _tzset tzset
    109114#endif
    110115
     
    456461                }
    457462#ifdef _WIN32
    458 #if defined(_MSC_VER) || defined(__BORLANDC__)
     463#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)
    459464                if (1)
    460 #else
     465#else#
    461466                if (localtime_s(tm, &sse) == 0)
    462467#endif
Note: See TracChangeset for help on using the changeset viewer.