don't use __FUNCTION__ - not portable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user