summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-12-02 09:22:42 -0700
committerBrian Paul <[email protected]>2009-12-02 09:22:42 -0700
commitf6d5e5842772285f609e2468a06fa30ab8865fd9 (patch)
treea0f3a2372f41cfc93432b960daa3466fdae1a62b /src/gallium/include/pipe
parent09325b9ff456ae475069bac5a04cf10a32235e43 (diff)
gallium/util: added PIPE_CC_GCC_VERSION symbol
Diffstat (limited to 'src/gallium/include/pipe')
-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 f6feea5f74d..064605a4a05 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
/*