From ca68da9517f037fe1c540c87234a9baa7ca52a98 Mon Sep 17 00:00:00 2001
From: Michael Jerris <mike@jerris.com>
Date: Wed, 28 Dec 2005 17:21:20 +0000
Subject: [PATCH] make libsndfile compile as c and not c++ code in msvc

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@225 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 w32/vsnet/Tools/libsndfile.vcproj | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/w32/vsnet/Tools/libsndfile.vcproj b/w32/vsnet/Tools/libsndfile.vcproj
index 20ab562cc7..98d449401c 100644
--- a/w32/vsnet/Tools/libsndfile.vcproj
+++ b/w32/vsnet/Tools/libsndfile.vcproj
@@ -46,9 +46,10 @@
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="3"
 				UsePrecompiledHeader="0"
-				WarningLevel="0"
+				WarningLevel="1"
 				Detect64BitPortabilityProblems="true"
 				DebugInformationFormat="4"
+				CompileAs="1"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
@@ -107,9 +108,10 @@
 				PreprocessorDefinitions="WIN32;NDEBUG;_LIB;inline=__inline;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
 				RuntimeLibrary="2"
 				UsePrecompiledHeader="0"
-				WarningLevel="0"
+				WarningLevel="1"
 				Detect64BitPortabilityProblems="true"
 				DebugInformationFormat="3"
+				CompileAs="1"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"