From 2a49eb6935f1df7825be7b2e137c934d72c8000a Mon Sep 17 00:00:00 2001 From: Doug Kwan Date: Wed, 6 Jun 2012 07:49:26 +0000 Subject: 2012-06-05 Jing Yu * gold.h (textdomain): Add do {} to empty while(0). (bindtextdomain): Likewise. --- gold/gold.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gold/gold.h') diff --git a/gold/gold.h b/gold/gold.h index 88fc4de..4258d55 100644 --- a/gold/gold.h +++ b/gold/gold.h @@ -58,8 +58,8 @@ # define gettext(Msgid) (Msgid) # define dgettext(Domainname, Msgid) (Msgid) # define dcgettext(Domainname, Msgid, Category) (Msgid) -# define textdomain(Domainname) while (0) /* nothing */ -# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ +# define textdomain(Domainname) do {} while (0) /* nothing */ +# define bindtextdomain(Domainname, Dirname) do {} while (0) /* nothing */ # define _(String) (String) # define N_(String) (String) #endif -- cgit v1.1