Commit b28ae60c authored by Linus Torvalds's avatar Linus Torvalds

Make the gcc version checks use the preprocessor symbols

consistently.
parent 3ea4053e
......@@ -68,7 +68,7 @@
* The attribute `pure' is not implemented in GCC versions earlier
* than 2.96.
*/
#if (__GNUC__ == 2 && __GNUC_MINOR >= 96) || __GNUC__ > 2
#if (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || __GNUC__ > 2
#define __attribute_pure__ __attribute__((pure))
#else
#define __attribute_pure__ /* unimplemented */
......
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