fix possible undef ref when gettext is disabled or not installed
SVN revision: 59997
This commit is contained in:
parent
6efead96f5
commit
54ee445efd
|
@ -7,8 +7,14 @@
|
|||
((MOD_CONFIG_FILE_EPOCH << 16) | MOD_CONFIG_FILE_GENERATION)
|
||||
|
||||
|
||||
#include <libintl.h>
|
||||
#define D_(str) dgettext(PACKAGE, str)
|
||||
#ifdef ENABLE_NLS
|
||||
# include <libintl.h>
|
||||
# define D_(string) dgettext(PACKAGE, string)
|
||||
#else
|
||||
# define bindtextdomain(domain,dir)
|
||||
# define bind_textdomain_codeset(domain,codeset)
|
||||
# define D_(string) (string)
|
||||
#endif
|
||||
|
||||
#define DBG(...)
|
||||
/* #define DBG(...) printf(__VA_ARGS__) */
|
||||
|
|
Loading…
Reference in New Issue