Changeset 843 for trunk/zoo-project/zoo-kernel/zoo_service_loader.c
- Timestamp:
- Aug 7, 2017, 8:53:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r817 r843 40 40 #include "ulinet.h" 41 41 42 #include <libint l.h>42 #include <libinti.h> 43 43 #include <locale.h> 44 44 #include <string.h> … … 107 107 #ifndef WIN32 108 108 extern char **environ; 109 #endif110 111 112 #ifdef WIN32113 extern "C"114 {115 __declspec (dllexport) char *strcasestr (char const *a, char const *b)116 #ifndef USE_MS117 {118 char *x = zStrdup (a);119 char *y = zStrdup (b);120 121 x = _strlwr (x);122 y = _strlwr (y);123 char *pos = strstr (x, y);124 char *ret = pos == NULL ? NULL : (char *) (a + (pos - x));125 free (x);126 free (y);127 return ret;128 };129 #else130 ;131 #endif132 }133 109 #endif 134 110
Note: See TracChangeset
for help on using the changeset viewer.