]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8298 fix libctb build
authorDušan Dragić <dragic.dusan@gmail.com>
Sun, 18 Oct 2015 13:06:13 +0000 (15:06 +0200)
committerDušan Dragić <dragic.dusan@gmail.com>
Mon, 19 Oct 2015 14:03:09 +0000 (16:03 +0200)
src/mod/endpoints/mod_gsmopen/libctb-0.16/include/ctb-0.16/serportx.h

index bb00d9767275fcef49ddac26ee1143d62c2bbf7a..4d29bb4ccc005681891f28d20f8b3b0f0d87cb57 100644 (file)
@@ -13,7 +13,7 @@
 #include <string.h>
 #include "ctb-0.16/iobase.h"
 
-#if _MSC_VER < 1900
+#if defined(_MSC_VER) && _MSC_VER < 1900
 # define snprintf _snprintf
 #endif