From: Brian Paul Date: Tue, 25 Nov 2003 16:02:24 +0000 (+0000) Subject: remove __FUNCTION__ hack X-Git-Tag: 062012170305~25361 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47b0bc1a36f4a6c3af1c9c76ee96e97c29376d71;p=profile%2Fivi%2Fmesa.git remove __FUNCTION__ hack --- diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index d7defcd..dc2860f 100644 --- 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