mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-14 20:00:58 +00:00
Buffer alignment now only done when SSE enabled, alignment macro still
broken on AMD 64.
This commit is contained in:
parent
98110ff66a
commit
e38b92ae94
1 changed files with 5 additions and 0 deletions
|
@ -285,7 +285,12 @@ typedef FILE* fluid_file;
|
|||
* As soon as proper alignment is supported by the compiler, this
|
||||
* can be removed.
|
||||
*/
|
||||
#ifdef ENABLE_SSE
|
||||
/* FIXME - This is broken on AMD 64 - only used if SSE enabled */
|
||||
#define FLUID_ALIGN16BYTE(ptr)(((int)(ptr)+15) & (~0xFL))
|
||||
#else
|
||||
#define FLUID_ALIGN16BYTE(ptr) ptr
|
||||
#endif
|
||||
|
||||
#if WITH_FTS
|
||||
#define FLUID_PRINTF post
|
||||
|
|
Loading…
Reference in a new issue