Changeset 757 for trunk/zoo-project/zoo-kernel/service.h
- Timestamp:
- Apr 20, 2016, 11:51:55 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service.h
r738 r757 35 35 36 36 #ifdef WIN32 37 #ifndef USE_MS38 37 #define strncasecmp _strnicmp 39 38 #define strcasecmp _stricmp 40 //#else 41 //#define snprintf sprintf_s 39 #if defined(_MSC_VER) && _MSC_VER < 1900 40 #define snprintf _snprintf 42 41 #endif 43 42 #define zStrdup _strdup … … 324 323 ZOO_DLL_EXPORT void mapsToCharXXX(maps*,char***); 325 324 ZOO_DLL_EXPORT void charxxxToMaps(char***,maps**); 326 #if def _MSC_VER325 #if defined(_MSC_VER) && _MSC_VER < 1800 327 326 // snprintf for Visual Studio compiler; 328 327 // it is also used by services (e.g., GetStatus), therefore exported to shared library 329 328 ZOO_DLL_EXPORT int snprintf(char *buffer, size_t n, const char *format, ...); 330 #endif 329 #endif 331 330 #ifdef __cplusplus 332 331 }
Note: See TracChangeset
for help on using the changeset viewer.