Mesa (master): gallium/util: added PIPE_CC_GCC_VERSION symbol
Brian Paul
brianp at kemper.freedesktop.org
Wed Dec 2 16:32:26 UTC 2009
Module: Mesa
Branch: master
Commit: f6d5e5842772285f609e2468a06fa30ab8865fd9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6d5e5842772285f609e2468a06fa30ab8865fd9
Author: Brian Paul <brianp at vmware.com>
Date: Wed Dec 2 09:22:42 2009 -0700
gallium/util: added PIPE_CC_GCC_VERSION symbol
---
src/gallium/include/pipe/p_config.h | 1 +
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 f6feea5..064605a 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