summaryrefslogtreecommitdiff
path: root/libgphoto2_port/vusb/vcamera.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2_port/vusb/vcamera.c')
-rw-r--r--libgphoto2_port/vusb/vcamera.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/libgphoto2_port/vusb/vcamera.c b/libgphoto2_port/vusb/vcamera.c
index 536e09b72..8f18e7404 100644
--- a/libgphoto2_port/vusb/vcamera.c
+++ b/libgphoto2_port/vusb/vcamera.c
@@ -44,24 +44,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);}