summaryrefslogtreecommitdiff
path: root/backend/dvi/mdvi-lib/private.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-08 14:54:49 +0100
committerraveit65 <[email protected]>2021-02-10 23:58:25 +0100
commit1d3eb340559c8a593bfc877aa4fef1198565bd1f (patch)
tree4be2cdff8aba4567c887c16519c44ed72f2921f7 /backend/dvi/mdvi-lib/private.h
parentb9e8446945d36482f968f3356b7dcb14ae9104a5 (diff)
downloadatril-1d3eb340559c8a593bfc877aa4fef1198565bd1f.tar.bz2
atril-1d3eb340559c8a593bfc877aa4fef1198565bd1f.tar.xz
dvi: use glib i18n macros
Diffstat (limited to 'backend/dvi/mdvi-lib/private.h')
-rw-r--r--backend/dvi/mdvi-lib/private.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/backend/dvi/mdvi-lib/private.h b/backend/dvi/mdvi-lib/private.h
index 9f89dc70..9bb89e13 100644
--- a/backend/dvi/mdvi-lib/private.h
+++ b/backend/dvi/mdvi-lib/private.h
@@ -16,8 +16,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _MDVI_PRIVATE_H
-#define _MDVI_PRIVATE_H 1
+#include <config.h>
+#include <glib/gi18n-lib.h>
+
+#define _MDVI_PRIVATE_H 1
#define HAVE_PROTOTYPES 1
#if STDC_HEADERS
@@ -45,15 +48,6 @@
#define SKIPSP(p) while(ISSP(p)) p++
#define SKIPNSP(p) while(*(p) && !ISSP(p)) p++
-#ifdef ENABLE_NLS
-#include <libintl.h>
-#define _(x) gettext(x)
-#define _G(x) x
-#else
-#define _(x) x
-#define _G(x) x
-#endif /* ENABLE_NLS */
-
#if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
#define _BREAKPOINT() do { __asm__ __volatile__ ("int $03"); } while(0)
#elif defined (__alpha__) && defined (__GNUC__) && __GNUC__ >= 2