projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c8e41
)
updated tests for defining __FUNCTION__ (Dan Schikore)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 13 Apr 2006 01:52:32 +0000
(
01:52
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 13 Apr 2006 01:52:32 +0000
(
01:52
+0000)
src/mesa/main/glheader.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/glheader.h
b/src/mesa/main/glheader.h
index
0ebadaa
..
e37499e
100644
(file)
--- a/
src/mesa/main/glheader.h
+++ b/
src/mesa/main/glheader.h
@@
-247,9
+247,12
@@
* Don't define it if using a newer Windows compiler.
*/
#if defined(__VMS)
-#define __FUNCTION__ "VMS$NL:"
-#elif !(defined(__GNUC__) && __GNUC__ >= 2) && !(defined(_MSC_VER) && _MSC_VER >= 1300)
-#define __FUNCTION__ "unknown"
+# define __FUNCTION__ "VMS$NL:"
+#elif __STDC_VERSION__ < 199901L
+# if ((!defined __GNUC__) || (__GNUC__ < 2)) && (!defined __xlC__) && \
+ (!defined(_MSC_VER) || _MSC_VER < 1300)
+# define __FUNCTION__ "<unknown>"
+# endif
#endif