Changeset 315 in Main for trunk/Server/strptime.c


Ignore:
Timestamp:
Oct 14, 2024, 7:01:02 PM (5 weeks ago)
Author:
Nishi
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/strptime.c

    r312 r315  
    3838#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)
    3939
     40#include <stdlib.h>
    4041#include <ctype.h>
    4142#include <string.h>
     
    4445
    4546#ifdef __WATCOMC__
     47#ifndef __NETWARE__
    4648#include <strings.h>
     49#endif
    4750#endif
    4851
     
    117120#endif
    118121
    119 #ifdef __BORLANDC__
     122#if defined(__BORLANDC__) || defined(__NETWARE__)
    120123char* cm_strdup(const char* str);
     124
     125#ifdef __NETWARE__
     126#define strncasecmp _strnicmp
     127#endif
    121128
    122129int _strnicmp(const char* _a, const char* _b, int len){
     
    124131        char* b = cm_strdup(_b);
    125132        int i;
    126         char* r;
     133        int r;
    127134        for(i = 0; a[i] != 0; i++){
    128135                a[i] = tolower(a[i]);
     
    429436
    430437#ifndef TIME_MAX
    431 #if defined(_MSC_VER) || defined(__BORLANDC__)
     438#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__NETWARE__)
    432439#define TIME_MAX        INT32_MAX
    433440#else
Note: See TracChangeset for help on using the changeset viewer.