don't use __FUNCTION__ - not portable

This commit is contained in:
Brian Paul 2004-08-22 17:23:22 +00:00
parent 370b47802e
commit bc3a5336d9

View 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;
}