gettext: add support for using the stub headers on the host
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25599 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -5,11 +5,8 @@
|
||||
#ifndef _LIBINTL_H
|
||||
#define _LIBINTL_H 1
|
||||
|
||||
#include <features.h>
|
||||
#include <locale.h>
|
||||
|
||||
#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_GETTEXT_AWARENESS__)
|
||||
|
||||
/* Undef gettext macros, if any... */
|
||||
#undef gettext
|
||||
#undef dgettext
|
||||
@ -53,5 +50,4 @@
|
||||
#define bind_textdomain_codeset(Domain, Codeset) (Codeset)
|
||||
#define textdomain(String) (String) ?: "messages"
|
||||
|
||||
#endif /* GETTEXT */
|
||||
#endif /* _LIBINTL_H */
|
||||
|
Reference in New Issue
Block a user