summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-05-22 10:30:16 -0600
committerBrian Paul <[email protected]>2017-05-24 11:33:46 -0600
commit3ad5325da036adab2a82f4d639e65d3d96a183a7 (patch)
tree9bf87b54f25805a7d136bf9cc109ce63389321e7
parent359fa0e9a0e3b904622e91d2ce93debefb943312 (diff)
Revert "gallium: remove unused PIPE_CC_GCC_VERSION"
This reverts commit e60928f4c4bd4484821d83f2b16a910ea9f5f9d9. PIPE_CC_GCC_VERSION is used by some of our in-house code which hasn't been upstreamed yet.
-rw-r--r--src/gallium/include/pipe/p_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
index 98c433f024e..3fa43ed7970 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -53,6 +53,7 @@
#if defined(__GNUC__)
#define PIPE_CC_GCC
+#define PIPE_CC_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
#endif
/*