2009-03-19 Roland McGrath <roland@redhat.com>

* td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):
	Use STRINGIFY macro in place of #argument.
This commit is contained in:
Roland McGrath 2009-03-19 19:51:42 +00:00
parent 3fb8a93ae9
commit 665b0c300c

View File

@ -24,8 +24,8 @@
static const char *symbol_list_arr[] =
{
# define DB_LOOKUP_NAME(idx, name) [idx] = #name,
# define DB_LOOKUP_NAME_TH_UNIQUE(idx, name) [idx] = #name,
# define DB_LOOKUP_NAME(idx, name) [idx] = STRINGIFY (name),
# define DB_LOOKUP_NAME_TH_UNIQUE(idx, name) [idx] = STRINGIFY (name),
# include "db-symbols.h"
# undef DB_LOOKUP_NAME
# undef DB_LOOKUP_NAME_TH_UNIQUE