Added interface for gettext.
[gedcom-parse.git] / gedcom / gedcom_internal.h
index cb5f067b3de78db2a3f5efd257e704c3a3bddf20..6cbec4261edf41292dadfe25786eb5db9b6a9282 100644 (file)
 #ifdef WITH_DMALLOC
 #include <dmalloc.h>
 #endif
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include <libintl.h>
+
+#define _(string) gettext(string)
+#define N_(string) (string)
 
 #define MAXGEDCLEVEL    99
 #define MAXGEDCLINELEN  255