Changeset 712 for trunk/zoo-project/zoo-kernel/service.h
- Timestamp:
- Jun 30, 2015, 4:49:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service.h
r682 r712 38 38 #define strncasecmp _strnicmp 39 39 #define strcasecmp _stricmp 40 #else41 #define snprintf sprintf_s40 //#else 41 //#define snprintf sprintf_s 42 42 #endif 43 43 #define zStrdup _strdup … … 64 64 return 0; // The gettimeofday() function shall return 0 on success 65 65 } 66 66 67 #else 67 68 /** … … 106 107 #include <stdlib.h> 107 108 #include <ctype.h> 108 #ifndef WIN32 109 109 110 #include <stdio.h> 110 #endif 111 111 112 #include <string.h> 112 113 #ifndef WIN32 … … 323 324 ZOO_DLL_EXPORT void mapsToCharXXX(maps*,char***); 324 325 ZOO_DLL_EXPORT void charxxxToMaps(char***,maps**); 325 326 #ifdef _MSC_VER 327 // snprintf for Visual Studio compiler; 328 // it is also used by services (e.g., GetStatus), therefore exported to shared library 329 ZOO_DLL_EXPORT int snprintf(char *buffer, size_t n, const char *format, ...); 330 #endif 326 331 #ifdef __cplusplus 327 332 }
Note: See TracChangeset
for help on using the changeset viewer.