Added interface for gettext.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Tue, 11 Dec 2001 21:05:20 +0000 (21:05 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Tue, 11 Dec 2001 21:05:20 +0000 (21:05 +0000)
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