Changeset 315 in Main for trunk/Server/strptime.c
- Timestamp:
- Oct 14, 2024, 7:01:02 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/strptime.c
r312 r315 38 38 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) 39 39 40 #include <stdlib.h> 40 41 #include <ctype.h> 41 42 #include <string.h> … … 44 45 45 46 #ifdef __WATCOMC__ 47 #ifndef __NETWARE__ 46 48 #include <strings.h> 49 #endif 47 50 #endif 48 51 … … 117 120 #endif 118 121 119 #if def __BORLANDC__122 #if defined(__BORLANDC__) || defined(__NETWARE__) 120 123 char* cm_strdup(const char* str); 124 125 #ifdef __NETWARE__ 126 #define strncasecmp _strnicmp 127 #endif 121 128 122 129 int _strnicmp(const char* _a, const char* _b, int len){ … … 124 131 char* b = cm_strdup(_b); 125 132 int i; 126 char*r;133 int r; 127 134 for(i = 0; a[i] != 0; i++){ 128 135 a[i] = tolower(a[i]); … … 429 436 430 437 #ifndef TIME_MAX 431 #if defined(_MSC_VER) || defined(__BORLANDC__) 438 #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__NETWARE__) 432 439 #define TIME_MAX INT32_MAX 433 440 #else
Note:
See TracChangeset
for help on using the changeset viewer.