X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=system.h;h=6391c3987824ed0adb6889af039dc12bbeeee611;hp=5b5e79509c1d7fc9c78f0e37f8da2d3624558afd;hb=b5bb06200eda170c9836e1b4474d6f5b920c2151;hpb=627f7c22b447bd464b536cd016278545674df93d diff --git a/system.h b/system.h index 5b5e7950..6391c398 100644 --- a/system.h +++ b/system.h @@ -20,26 +20,7 @@ #ifndef __TINC_SYSTEM_H__ #define __TINC_SYSTEM_H__ -/* Take care of NLS matters. -- from fileutils 4.0 */ - -#if HAVE_LOCALE_H -# include -#endif -#if !HAVE_SETLOCALE -# define setlocale(Category, Locale) /* empty */ -#endif - -#if ENABLE_NLS -# include -# define _(Text) gettext (Text) -#else -# undef bindtextdomain -# define bindtextdomain(Domain, Directory) /* empty */ -# undef textdomain -# define textdomain(Domain) /* empty */ -# define _(Text) Text -#endif -#define N_(Text) Text +#include "gettext.h" #ifndef HAVE_STRSIGNAL # define strsignal(p) "" @@ -53,4 +34,3 @@ typedef int socklen_t; #endif #endif /* __TINC_SYSTEM_H__ */ -