Correct ALIGN preprocessor stuff for __GNU_C__
This commit is contained in:
parent
e6ad3b5db5
commit
bb0ceffcd5
|
@ -91,7 +91,7 @@
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
#if defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||||
#define ALIGN(X) __declspec(align(X))
|
#define ALIGN(X) __declspec(align(X))
|
||||||
#elif __GNUC__
|
#elif defined(__GNUC__)
|
||||||
#define ALIGN(X) __attribute__ ((aligned (X)))
|
#define ALIGN(X) __attribute__ ((aligned (X)))
|
||||||
#else
|
#else
|
||||||
#define ALIGN(X)
|
#define ALIGN(X)
|
||||||
|
|
Loading…
Reference in New Issue