diff options
author | Doug Kwan <dougkwan@google.com> | 2012-06-06 07:49:26 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2012-06-06 07:49:26 +0000 |
commit | 2a49eb6935f1df7825be7b2e137c934d72c8000a (patch) | |
tree | c605301b898a51ad0c5b676c2573ede237064e7e | |
parent | 1564a22fcff4dc513d11540529bb10c615d65628 (diff) | |
download | gdb-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.
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/gold.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index c627858..6752c13 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2012-06-05 Jing Yu <jingyu@google.com> + + * gold.h (textdomain): Add do {} to empty while(0). + (bindtextdomain): Likewise. + 2012-06-04 Cary Coutant <ccoutant@google.com> * dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call 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 |