diff options
Diffstat (limited to 'camlibs/ricoh/ricoh.c')
-rw-r--r-- | camlibs/ricoh/ricoh.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/camlibs/ricoh/ricoh.c b/camlibs/ricoh/ricoh.c index 31fe3f8b8..bc9814a4d 100644 --- a/camlibs/ricoh/ricoh.c +++ b/camlibs/ricoh/ricoh.c @@ -26,8 +26,11 @@ #include <gphoto2/gphoto2-port-log.h> +#include "libgphoto2/i18n.h" + #include "crctab.h" + #define GP_MODULE "ricoh" #define STX 0x02 /* start of text */ @@ -37,24 +40,6 @@ #define ETB 0x17 /* end of transmission block */ #define DLE 0x10 /* datalink escape */ -#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 #define CR(result) {int r_mac=(result); if (r_mac<0) return r_mac;} #define CRF(result,data) {int r_mac=(result); \ |