Commit 6aa0671c authored by Sergei Golubchik's avatar Sergei Golubchik

typedef is better than __attribute__ ((unused))

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