Revert "gallium: remove unused PIPE_CC_GCC_VERSION"
authorBrian Paul <brianp@vmware.com>
Mon, 22 May 2017 16:30:16 +0000 (10:30 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 24 May 2017 17:33:46 +0000 (11:33 -0600)
This reverts commit e60928f4c4bd4484821d83f2b16a910ea9f5f9d9.

PIPE_CC_GCC_VERSION is used by some of our in-house code which hasn't
been upstreamed yet.

src/gallium/include/pipe/p_config.h

index 98c433f..3fa43ed 100644 (file)
@@ -53,6 +53,7 @@
 
 #if defined(__GNUC__)
 #define PIPE_CC_GCC
+#define PIPE_CC_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
 #endif
 
 /*