Revision
16179
Author
gmaruzz
Date
2010-01-06 09:36:18 -0600 (Wed, 06 Jan 2010)

Log Message

gsmopen: gsmlib, now compiles on visual C 2008

Modified Paths

Diff

Modified: freeswitch/branches/gmaruzz/mod_gsmopen/gsmlib/gsmlib-1.10-patched-12ubuntu1/win32/gsm_config.h (16178 => 16179)


--- freeswitch/branches/gmaruzz/mod_gsmopen/gsmlib/gsmlib-1.10-patched-12ubuntu1/win32/gsm_config.h	2010-01-06 15:12:49 UTC (rev 16178)
+++ freeswitch/branches/gmaruzz/mod_gsmopen/gsmlib/gsmlib-1.10-patched-12ubuntu1/win32/gsm_config.h	2010-01-06 15:36:18 UTC (rev 16179)
@@ -68,7 +68,9 @@
 
 /* Define if vsnprintf() function available */
 #define HAVE_VSNPRINTF 1
+#ifndef WIN32
 #define vsnprintf _vsnprintf
+#endif //WIN32
 
 /* The number of bytes in a unsigned int.  */
 #define SIZEOF_UNSIGNED_INT 4

Modified: freeswitch/branches/gmaruzz/mod_gsmopen/gsmlib/gsmlib-1.10-patched-12ubuntu1/win32/testgsmlib.vcproj (16178 => 16179)


--- freeswitch/branches/gmaruzz/mod_gsmopen/gsmlib/gsmlib-1.10-patched-12ubuntu1/win32/testgsmlib.vcproj	2010-01-06 15:12:49 UTC (rev 16178)
+++ freeswitch/branches/gmaruzz/mod_gsmopen/gsmlib/gsmlib-1.10-patched-12ubuntu1/win32/testgsmlib.vcproj	2010-01-06 15:36:18 UTC (rev 16179)
@@ -132,7 +132,8 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				Optimization="0"
-				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+				AdditionalIncludeDirectories="../gsmlib,..,."
+				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;HAVE_CONFIG_H"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="1"