aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2012-06-06 07:49:26 +0000
committerDoug Kwan <dougkwan@google.com>2012-06-06 07:49:26 +0000
commit2a49eb6935f1df7825be7b2e137c934d72c8000a (patch)
treec605301b898a51ad0c5b676c2573ede237064e7e /gold/gold.h
parent1564a22fcff4dc513d11540529bb10c615d65628 (diff)
downloadgdb-2a49eb6935f1df7825be7b2e137c934d72c8000a.zip
gdb-2a49eb6935f1df7825be7b2e137c934d72c8000a.tar.gz
gdb-2a49eb6935f1df7825be7b2e137c934d72c8000a.tar.bz2
2012-06-05 Jing Yu <jingyu@google.com>
* gold.h (textdomain): Add do {} to empty while(0). (bindtextdomain): Likewise.
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h4
1 files changed, 2 insertions, 2 deletions
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