]> Repos - portaudio/commitdiff
ifdefs for correct windows mobile compilation
authorrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 10 Dec 2009 08:10:08 +0000 (08:10 +0000)
committerrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Thu, 10 Dec 2009 08:10:08 +0000 (08:10 +0000)
src/os/win/pa_win_util.c
src/os/win/pa_x86_plain_converters.c

index 4c7d9ce3f06c1cd67a8874441e642874043e2e1e..a91521d4a5b3af9db544e832f1f5b8a3c0c2d351 100644 (file)
@@ -51,7 +51,7 @@
 
 #include "pa_util.h"
 
-#if (defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER >= 1200))) /* MSC version 6 and above */
+#if (defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER >= 1200))) && !defined(_WIN32_WCE) /* MSC version 6 and above */
 #pragma comment( lib, "winmm.lib" )
 #endif
 
index d3d0fdafc6a14920268bb424c0dcd43faeb321f6..4fcde40cb09ce4dcf6e675247d9386d7d97c3e4b 100644 (file)
@@ -130,7 +130,7 @@ static const float const_float_dither_scale_ = PA_FLOAT_DITHER_SCALE_;
 
 /* -------------------------------------------------------------------------- */
 
-#ifdef _WIN64
+#if defined(_WIN64) || defined(_WIN32_WCE)
 
 /*
        -EMT64/AMD64 uses different asm