don't use __FUNCTION__ - not portable
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 22 Aug 2004 17:23:22 +0000 (17:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 22 Aug 2004 17:23:22 +0000 (17:23 +0000)
src/mesa/tnl/t_vertex_c.c

index 0c3fd004017d79082d367b6f7c33c1d6bdfdff6b..510902603726a730062b532bebe4b3c165b92104 100644 (file)
@@ -228,17 +228,12 @@ static GLboolean print_attr_header( struct tnl_clipspace_codegen *p,
 
 static GLboolean print_attr_footer( struct tnl_clipspace_codegen *p )
 {
-   return 
-      emit(p, "      }\n");
+   return emit(p, "      }\n");
 }
 
 static tnl_emit_func print_store_func( struct tnl_clipspace_codegen *p ) 
 {
-#if defined( WIN32 ) || defined( __VMS )
-   fprintf(stderr, "%s: emitted:\n%s\n", "print_store_func", p->buf);
-#else
-   fprintf(stderr, "%s: emitted:\n%s\n", __FUNCTION__, p->buf);
-#endif   
+   fprintf(stderr, "print_store_func: emitted:\n%s\n", p->buf);
    return 0;
 }