Mesa (master): Revert "gallium: remove unused PIPE_CC_GCC_VERSION"

Brian Paul brianp at kemper.freedesktop.org
Wed May 24 21:34:14 UTC 2017


Module: Mesa
Branch: master
Commit: 3ad5325da036adab2a82f4d639e65d3d96a183a7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ad5325da036adab2a82f4d639e65d3d96a183a7

Author: Brian Paul <brianp at vmware.com>
Date:   Mon May 22 10:30:16 2017 -0600

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.

---

 src/gallium/include/pipe/p_config.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
index 98c433f024..3fa43ed797 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
 
 /*




More information about the mesa-commit mailing list