diff options
Diffstat (limited to 'libgphoto2_port/ptpip/ptpip.c')
-rw-r--r-- | libgphoto2_port/ptpip/ptpip.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/libgphoto2_port/ptpip/ptpip.c b/libgphoto2_port/ptpip/ptpip.c index b21eef42c..ff9df9da5 100644 --- a/libgphoto2_port/ptpip/ptpip.c +++ b/libgphoto2_port/ptpip/ptpip.c @@ -40,24 +40,8 @@ #include <gphoto2/gphoto2-port-result.h> #include <gphoto2/gphoto2-port-log.h> -#ifdef ENABLE_NLS -# include <libintl.h> -# undef _ -# define _(String) dgettext (GETTEXT_PACKAGE, String) -# ifdef gettext_noop -# define N_(String) gettext_noop (String) -# else -# define N_(String) (String) -# endif -#else -# define textdomain(String) (String) -# define gettext(String) (String) -# define dgettext(Domain,Message) (Message) -# define dcgettext(Domain,Message,Type) (Message) -# define bindtextdomain(Domain,Directory) (Domain) -# define _(String) (String) -# define N_(String) (String) -#endif +#include "libgphoto2_port/i18n.h" + #define CHECK(result) {int r=(result); if (r<0) return (r);} |