[xiph-commits] r11217 - in trunk/Tremor: . win32/VS2005/libtremor

illiminable at svn.xiph.org illiminable at svn.xiph.org
Fri Apr 21 12:18:30 PDT 2006


Author: illiminable
Date: 2006-04-21 12:18:23 -0700 (Fri, 21 Apr 2006)
New Revision: 11217

Modified:
   trunk/Tremor/misc.h
   trunk/Tremor/win32/VS2005/libtremor/libtremor.vcproj
Log:
* Add proper build setup for wm5
* Don't include sys/types.h if defined WIN32 && WINCE - it never gets used anyway

Modified: trunk/Tremor/misc.h
===================================================================
--- trunk/Tremor/misc.h	2006-04-21 19:10:46 UTC (rev 11216)
+++ trunk/Tremor/misc.h	2006-04-21 19:18:23 UTC (rev 11217)
@@ -29,7 +29,9 @@
 #ifndef  _LOW_ACCURACY_
 /* 64 bit multiply */
 
+#if !(defined WIN32 && defined WINCE)
 #include <sys/types.h>
+#endif
 
 #if BYTE_ORDER==LITTLE_ENDIAN
 union magic {

Modified: trunk/Tremor/win32/VS2005/libtremor/libtremor.vcproj
===================================================================
--- trunk/Tremor/win32/VS2005/libtremor/libtremor.vcproj	2006-04-21 19:10:46 UTC (rev 11216)
+++ trunk/Tremor/win32/VS2005/libtremor/libtremor.vcproj	2006-04-21 19:18:23 UTC (rev 11217)
@@ -368,12 +368,12 @@
 				Name="VCCLCompilerTool"
 				ExecutionBucket="7"
 				Optimization="0"
-				PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+				PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;$(ARCHFAM);$(_ARCHFAM_)"
 				MinimalRebuild="true"
 				RuntimeLibrary="3"
 				UsePrecompiledHeader="0"
 				WarningLevel="3"
-				DebugInformationFormat="4"
+				DebugInformationFormat="0"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"
@@ -498,11 +498,11 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				ExecutionBucket="7"
-				PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+				PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;$(ARCHFAM);$(_ARCHFAM_)"
 				RuntimeLibrary="2"
 				UsePrecompiledHeader="0"
 				WarningLevel="3"
-				DebugInformationFormat="3"
+				DebugInformationFormat="0"
 			/>
 			<Tool
 				Name="VCManagedResourceCompilerTool"



More information about the commits mailing list