1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00
conky/cmake/gcc44test.cc

9 lines
213 B
C++
Raw Normal View History

2009-12-10 23:19:45 +00:00
/* Test for GCC >= 4.4.0 */
#define GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
#if GCC_VERSION < 40400
#error "GCC 4.4.0 or newer required"
#endif
int main() { return 1; }