Commit 21ba91ae authored by Derek Buitenhuis's avatar Derek Buitenhuis Committed by Fiona Glaser

Fix ALIGNED_ARRAY_EMU macros on ICL

ICL's preprocessor doesn't handle it correctly.
This fix is similar to libav's fix in 0db2d9.
parent 96577475
......@@ -108,8 +108,10 @@
ALIGNED_16( type name sub1 __VA_ARGS__ )
#endif
#define ALIGNED_ARRAY_32( ... ) ALIGNED_ARRAY_EMU( 31, __VA_ARGS__ )
#define ALIGNED_ARRAY_64( ... ) ALIGNED_ARRAY_EMU( 63, __VA_ARGS__ )
#define EXPAND(x) x
#define ALIGNED_ARRAY_32( ... ) EXPAND( ALIGNED_ARRAY_EMU( 31, __VA_ARGS__ ) )
#define ALIGNED_ARRAY_64( ... ) EXPAND( ALIGNED_ARRAY_EMU( 63, __VA_ARGS__ ) )
#define UNINIT(x) x=x
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment