Changeset 943 for trunk/zoo-project/zoo-kernel/service.c
- Timestamp:
- Jun 27, 2019, 12:57:25 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service.c
r917 r943 1809 1809 // zooLogMsg(NULL, getLastErrorMessage()); 1810 1810 // zooLogMsg("log.txt", getLastErrorMessage()); 1811 1812 #ifdef WIN32 1813 #ifndef USE_MS 1814 char *strcasestr (char const *a, char const *b) 1815 { 1816 char *x = zStrdup (a); 1817 char *y = zStrdup (b); 1818 1819 x = _strlwr (x); 1820 y = _strlwr (y); 1821 char *pos = strstr (x, y); 1822 char *ret = pos == NULL ? NULL : (char *) (a + (pos - x)); 1823 free (x); 1824 free (y); 1825 return ret; 1826 }; 1827 #else 1828 ; 1829 #endif 1830 #endif
Note: See TracChangeset
for help on using the changeset viewer.