/[tewi]/Server/strptime.c
ViewVC logotype

Diff of /Server/strptime.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by nishi, Thu Oct 17 09:53:39 2024 UTC Revision 1.5 by nishi, Sun Nov 3 10:40:12 2024 UTC
# Line 35  Line 35 
35  //#include <sys/cdefs.h>  //#include <sys/cdefs.h>
36  //__RCSID("$NetBSD: strptime.c,v 1.62 2017/08/24 01:01:09 ginsbach Exp $");  //__RCSID("$NetBSD: strptime.c,v 1.62 2017/08/24 01:01:09 ginsbach Exp $");
37    
38  #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__NeXT__)  #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__NeXT__) || defined(__bsdi__) || defined(__amiga__)
39    
40  #include <stdlib.h>  #include <stdlib.h>
41  #include <ctype.h>  #include <ctype.h>
# Line 115  static const unsigned char *find_string( Line 115  static const unsigned char *find_string(
115  #define strncasecmp         _strnicmp  #define strncasecmp         _strnicmp
116  #endif  #endif
117    
118  #ifdef __WATCOMC__  #if defined(__WATCOMC__)
119  #define _tzset tzset  #define _tzset tzset
120  #endif  #endif
121    
# Line 435  recurse: Line 435  recurse:
435              continue;              continue;
436    
437  #ifndef TIME_MAX  #ifndef TIME_MAX
438  #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__NETWARE__) || defined(__NeXT__)  #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__NETWARE__) || defined(__NeXT__) || defined(__bsdi__)
439  #define TIME_MAX        INT32_MAX  #define TIME_MAX        INT32_MAX
440  #else  #else
441  #define TIME_MAX        INT64_MAX  #define TIME_MAX        INT64_MAX
# Line 469  recurse: Line 469  recurse:
469                      bp = NULL;                      bp = NULL;
470                      continue;                      continue;
471                  }                  }
472  #if defined(_WIN32) || defined(__OS2__) || defined(__NeXT__) || defined(__DOS__)  #if defined(_WIN32) || defined(__OS2__) || defined(__NeXT__) || defined(__DOS__) || defined(__amiga__)
473  #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__NeXT__)  #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__NeXT__) || defined(__amiga__)
474                  if (1)                  if (1)
475  #else  #else
476                  if (localtime_s(tm, &sse) == 0)                  if (localtime_s(tm, &sse) == 0)
# Line 560  recurse: Line 560  recurse:
560          case 'z':       //          case 'z':       //
561  #ifdef _WIN32  #ifdef _WIN32
562              _tzset();              _tzset();
563    #elif defined(__amiga__)
564  #else  #else
565              tzset();              tzset();
566  #endif  #endif


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

nishi@chaotic.ninja
ViewVC Help
Powered by ViewVC 1.3.0-dev