Commit 9f760215 authored by Sergei Golubchik's avatar Sergei Golubchik

typedef is better than __attribute__ ((unused))

parent be5b2072
......@@ -484,8 +484,7 @@ C_MODE_END
#define compile_time_assert(X) \
do \
{ \
char compile_time_assert[(X) ? 1 : -1] \
__attribute__ ((unused)); \
typedef char compile_time_assert[(X) ? 1 : -1]; \
} while(0)
#endif
......
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