Ignore:
Timestamp:
Apr 20, 2016, 11:51:55 AM (8 years ago)
Author:
djay
Message:

Update the makefiles and small fixe for windows platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service.h

    r738 r757  
    3535
    3636#ifdef WIN32
    37 #ifndef USE_MS
    3837#define strncasecmp _strnicmp
    3938#define strcasecmp _stricmp
    40 //#else
    41 //#define snprintf sprintf_s
     39#if defined(_MSC_VER) && _MSC_VER < 1900
     40#define snprintf _snprintf
    4241#endif
    4342#define zStrdup _strdup
     
    324323  ZOO_DLL_EXPORT void mapsToCharXXX(maps*,char***);
    325324  ZOO_DLL_EXPORT void charxxxToMaps(char***,maps**);
    326 #ifdef _MSC_VER
     325#if defined(_MSC_VER) && _MSC_VER < 1800
    327326  // snprintf for Visual Studio compiler;
    328327  // it is also used by services (e.g., GetStatus), therefore exported to shared library
    329328  ZOO_DLL_EXPORT int snprintf(char *buffer, size_t n, const char *format, ...);
    330 #endif 
     329#endif
    331330#ifdef __cplusplus
    332331}
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png