Changeset 843 for trunk/zoo-project/zoo-kernel/service.c
- Timestamp:
- Aug 7, 2017, 8:53:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service.c
r805 r843 1594 1594 m=&trorf; 1595 1595 } 1596 1597 #ifdef WIN32 1598 char *strcasestr (char const *a, char const *b) 1599 #ifndef USE_MS 1600 { 1601 char *x = zStrdup (a); 1602 char *y = zStrdup (b); 1603 1604 x = _strlwr (x); 1605 y = _strlwr (y); 1606 char *pos = strstr (x, y); 1607 char *ret = pos == NULL ? NULL : (char *) (a + (pos - x)); 1608 free (x); 1609 free (y); 1610 return ret; 1611 }; 1612 #else 1613 ; 1614 #endif 1615 #endif
Note: See TracChangeset
for help on using the changeset viewer.