move static variables into x86 section so they don't generate warnings when trying to build on 64 bit
This commit is contained in:
parent
85e52783f0
commit
3dd3c9f5ce
1 changed files with 12 additions and 13 deletions
|
|
@ -112,6 +112,18 @@ TODO:
|
||||||
0011 1111 1000 0000 0000 0000 0000 0000 => 0x3F800000
|
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*/
|
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(
|
static void Float32_To_Int32(
|
||||||
void *destinationBuffer, signed int destinationStride,
|
void *destinationBuffer, signed int destinationStride,
|
||||||
void *sourceBuffer, signed int sourceStride,
|
void *sourceBuffer, signed int sourceStride,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue