commit | 84002758db878577469d2e95b875e163f5258dd9 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Thu Sep 04 02:40:59 2014 +0900 |
committer | Tom Rini <trini@ti.com> | Tue Sep 16 12:23:57 2014 -0400 |
tree | a6c0edfaad3b3ef8531b6a50520071121d21b89e | |
parent | c42aad5e47cdf9845fbeeb6d7fddde4a6ea4372f [diff] |
standalone: use GCC_VERSION defined in compiler-gcc.h Now GCC_VERSION is defined in include/linux/compiler-gcc.h (with a little different definition). Use it and delete the one in examples/standlone/stub.c. This should work on Clang too because __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__ are also defined on Clang. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Jeroen Hofstee <jeroen@myspectrum.nl>