]> Repos - portaudio/commitdiff
move static variables into x86 section so they don't generate warnings when trying...
authorrbencina <rbencina@0f58301d-fd10-0410-b4af-bbb618454e57>
Sun, 7 Apr 2013 14:15:24 +0000 (14:15 +0000)
committerrbencina <rbencina@0f58301d-fd10-0410-b4af-bbb618454e57>
Sun, 7 Apr 2013 14:15:24 +0000 (14:15 +0000)
src/os/win/pa_x86_plain_converters.c

index 4fcde40cb09ce4dcf6e675247d9386d7d97c3e4b..ae43d28cb67505f64746ac31755aaf2072604122 100644 (file)
@@ -112,6 +112,18 @@ TODO:
     0011 1111 1000 0000 0000 0000 0000 0000 => 0x3F800000
 */
 
+#if defined(_WIN64) || defined(_WIN32_WCE)
+
+/*
+       -EMT64/AMD64 uses different asm
+       -VC2005 doesnt allow _WIN64 with inline assembly either!
+ */
+void PaUtil_InitializeX86PlainConverters( void )
+{
+}
+
+#else
+
 /* -------------------------------------------------------------------------- */
 
 static const short fpuControlWord_ = 0x033F; /*round to nearest, 64 bit precision, all exceptions masked*/
@@ -130,19 +142,6 @@ static const float const_float_dither_scale_ = PA_FLOAT_DITHER_SCALE_;
 
 /* -------------------------------------------------------------------------- */
 
-#if defined(_WIN64) || defined(_WIN32_WCE)
-
-/*
-       -EMT64/AMD64 uses different asm
-       -VC2005 doesnt allow _WIN64 with inline assembly either!
- */
-void PaUtil_InitializeX86PlainConverters( void )
-{
-}
-
-#else
-
-
 static void Float32_To_Int32(
     void *destinationBuffer, signed int destinationStride,
     void *sourceBuffer, signed int sourceStride,