remove __FUNCTION__ hack

This commit is contained in:
Brian Paul 2003-11-25 16:02:24 +00:00
parent 4ccbe9e666
commit 47b0bc1a36
1 changed files with 0 additions and 11 deletions

View File

@ -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