From: Brian Paul Date: Mon, 22 May 2017 16:30:16 +0000 (-0600) Subject: Revert "gallium: remove unused PIPE_CC_GCC_VERSION" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ad5325da036adab2a82f4d639e65d3d96a183a7;p=mesa.git 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. --- 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 /*