Permalink
Browse files

Update mapserver.h

Made mapserver.h compatible with VSC 1900. VSC 1900 has snprintf built in, and will throw an error if you define it.
  • Loading branch information...
kellyelton committed Dec 16, 2015
1 parent b96e3dd commit bb0a76a6fa8d3de581bae56d2dbf2750e7e87716
Showing with 2 additions and 0 deletions.
  1. +2 −0 mapserver.h
@@ -167,8 +167,10 @@ typedef const ms_uint32 *ms_const_bitarray;
#if defined(_WIN32) && !defined(__CYGWIN__)
#if (defined(_MSC_VER) && (_MSC_VER < 1900)) || !defined(_MSC_VER)
#define snprintf _snprintf
#endif
#endif
#ifdef __cplusplus
extern "C" {

0 comments on commit bb0a76a

Please sign in to comment.