Changeset 835 for trunk/zoo-project/zoo-kernel
- Timestamp:
- Aug 3, 2017, 8:37:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_loader.c
r790 r835 63 63 #ifndef FALSE 64 64 #define FALSE -1 65 #endif 66 67 #ifdef WIN32 68 extern "C" 69 { 70 __declspec (dllexport) char *strcasestr (char const *a, char const *b) 71 #ifndef USE_MS 72 { 73 char *x = zStrdup (a); 74 char *y = zStrdup (b); 75 76 x = _strlwr (x); 77 y = _strlwr (y); 78 char *pos = strstr (x, y); 79 char *ret = pos == NULL ? NULL : (char *) (a + (pos - x)); 80 free (x); 81 free (y); 82 return ret; 83 }; 84 #else 85 ; 86 #endif 87 } 65 88 #endif 66 89
Note: See TracChangeset
for help on using the changeset viewer.