projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ccbe9e
)
remove __FUNCTION__ hack
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 25 Nov 2003 16:02:24 +0000
(16:02 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 25 Nov 2003 16:02:24 +0000
(16:02 +0000)
src/mesa/main/glheader.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/glheader.h
b/src/mesa/main/glheader.h
index d7defcd15454b979ff8b61f31328ffd3acd5214b..dc2860fab8be26705f3214a0f04bbbc2d32058c4 100644
(file)
--- a/
src/mesa/main/glheader.h
+++ b/
src/mesa/main/glheader.h
@@
-263,17
+263,6
@@
typedef struct tagPIXELFORMATDESCRIPTOR PIXELFORMATDESCRIPTOR, *PPIXELFORMATDESC
#endif
-/*
- * Provide a reasonable replacement for __FUNCTION__ when using
- * non-GNU C compilers. Watcom C/C++ 11.0 and later provide this also.
- */
-#if !defined(__GNUC__) && !(defined(__WATCOMC__) && (__WATCOMC__ >= 1100))
-#define STRINGIZE(x) #x
-#define STRINGIZE_EVAL(x) STRINGIZE(x)
-#define __FUNCTION__ STRINGIZE_EVAL(__FILE__) ", line " STRINGIZE_EVAL(__LINE__)
-#endif
-
-
/* Some compilers don't like some of Mesa's const usage */
#ifdef NO_CONST
# define CONST