gallium/util: added PIPE_CC_GCC_VERSION symbol
authorBrian Paul <brianp@vmware.com>
Wed, 2 Dec 2009 16:22:42 +0000 (09:22 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 2 Dec 2009 16:22:42 +0000 (09:22 -0700)
src/gallium/include/pipe/p_config.h

index f6feea5f74d7ac568f15beeaca061d8dd12d7153..064605a4a059189973751f9780aefe64575eae0d 100644 (file)
@@ -53,6 +53,7 @@
 
 #if defined(__GNUC__)
 #define PIPE_CC_GCC
+#define PIPE_CC_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
 #endif
 
 /*