2012-06-05 Jing Yu <jingyu@google.com>

* gold.h (textdomain): Add do {} to empty while(0).
	(bindtextdomain): Likewise.
This commit is contained in:
Doug Kwan 2012-06-06 07:49:26 +00:00
parent 1564a22fcf
commit 2a49eb6935
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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