1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 20:31:17 +00:00
conky/cmake/gcc44test.cc
2009-12-10 15:19:45 -08:00

9 lines
213 B
C++

/* 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; }