mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 22:56:58 -04:00
Fix includes for gettext
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1016 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
b59f6b2b78
commit
e273a76bc5
1 changed files with 2 additions and 14 deletions
|
|
@ -184,20 +184,8 @@ enum {
|
|||
* Internationalization
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
# include "gettext.h"
|
||||
# define _(String) gettext (String)
|
||||
# define S_(String) gettext (String)
|
||||
# define gettext_noop(String) String
|
||||
# define N_(String) gettext_noop String
|
||||
#else
|
||||
# define _(String) (String)
|
||||
# define S_(String) (String)
|
||||
# define N_(String) String
|
||||
# define textdomain(Domain)
|
||||
# define bindtextdomain(Package, Directory)
|
||||
#endif
|
||||
#include "gettext.h"
|
||||
#define _(String) gettext (String)
|
||||
|
||||
/* For non-GNU compilers to ignore __attribute__ */
|
||||
#ifndef __GNUC__
|
||||
|
|
|
|||
Loading…
Reference in a new issue