summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZentaro Kavanagh <illiminable@xiph.org>2006-04-21 19:18:23 +0000
committerZentaro Kavanagh <illiminable@xiph.org>2006-04-21 19:18:23 +0000
commit536866870075c4b982797e7cb5b3dc3ac9189736 (patch)
tree58208d72fbf35bb138c806631354dd015fdd1cff
parentb725418d1af3391639b9afc524f3e3399ed38cf3 (diff)
downloadtremor-536866870075c4b982797e7cb5b3dc3ac9189736.tar.gz
* Add proper build setup for wm5
* Don't include sys/types.h if defined WIN32 && WINCE - it never gets used anyway git-svn-id: https://svn.xiph.org/trunk/Tremor@11217 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r--misc.h2
-rw-r--r--win32/VS2005/libtremor/libtremor.vcproj8
2 files changed, 6 insertions, 4 deletions
diff --git a/misc.h b/misc.h
index 763b506..a4bc82f 100644
--- a/misc.h
+++ b/misc.h
@@ -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 {
diff --git a/win32/VS2005/libtremor/libtremor.vcproj b/win32/VS2005/libtremor/libtremor.vcproj
index 381afbb..8855341 100644
--- a/win32/VS2005/libtremor/libtremor.vcproj
+++ b/win32/VS2005/libtremor/libtremor.vcproj
@@ -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"