FFTS Windows build fixes

This commit is contained in:
Kearwood Gilbert
2017-06-11 19:06:35 -07:00
parent 7c09f57eb9
commit bef32ab528
6 changed files with 26 additions and 7 deletions

View File

@@ -55,7 +55,13 @@
#define PI 3.1415926535897932384626433832795028841971693993751058209
static const __attribute__ ((aligned(64))) float w_data[16] = {
#if defined(_WIN32) || defined(_WIN64)
static const __declspec(align(64)) float w_data[16] =
#else
static const __attribute__ ((aligned(64))) float w_data[16] =
#endif
{
0.70710678118654757273731092936941, 0.70710678118654746171500846685376,
-0.70710678118654757273731092936941, -0.70710678118654746171500846685376,
1.0f, 0.70710678118654757273731092936941f,