Changeset 757 for trunk/zoo-project/zoo-kernel
- Timestamp:
- Apr 20, 2016, 11:51:55 AM (9 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/nmake.opt
r712 r757 11 11 #PHP_LIB=$(PHP_DIR)\Release_TS\php5embed.lib 12 12 13 !IF DEFINED(MS_DIR)14 MS_BASE=$(MS_DIR)15 !INCLUDE $(MS_DIR)\nmake.opt16 !ENDIF13 #!IF DEFINED(MS_DIR) 14 #MS_BASE=$(MS_DIR) 15 #!INCLUDE $(MS_DIR)\nmake.opt 16 #!ENDIF 17 17 18 18 !IFDEF JS_DIR 19 JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR) 19 JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR) -I$(JS_DIR)/dist/include 20 20 JS_LDFLAGS=$(JS_DIR)/mozjs185-1.0.lib 21 21 JS_FILE=service_internal_js.obj 22 22 !ENDIF 23 23 24 !IFDEF JS_CFG 25 #!INCLUDE $(JS_CFG) 26 #JS_CFLAGS=-DXP_WIN -DUSE_JS $(JS_CONFIG_CFLAGS) 27 #JS_LDFLAGS=$(JS_CONFIG_LDFLAGS) 28 JS_CFLAGS=-DXP_WIN -DUSE_JS -include c:/mozilla-build/msys/local/include/mozjs-24/js/RequiredDefines.h -Ic:/mozilla-build/msys/local/include/mozjs-24 -IC:/mozilla-build/msys/local/include 29 JS_LDFLAGS=c:/mozilla-build/msys/local/lib/mozjs-24.lib kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib psapi.lib 30 JS_FILE=service_internal_js.obj 31 !ENDIF 32 24 33 !IFDEF MS_DIR 25 MS_CFLAGS=-DUSE_MS - I$(MS_DIR)26 MS_LDFLAGS=$(MS_DIR)/ mapserver_i.lib34 MS_CFLAGS=-DUSE_MS -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -I$(MS_DIR)/include 35 MS_LDFLAGS=$(MS_DIR)/lib/mapserver_i.lib 27 36 MS_FILE=service_internal_ms.obj 28 37 !ENDIF -
trunk/zoo-project/zoo-kernel/service.c
r738 r757 25 25 #include "service.h" 26 26 27 #ifdef _MSC_VER 27 28 #if defined(_MSC_VER) && _MSC_VER < 1800 28 29 #include <stdarg.h> 29 30 /** -
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.