Auto-generation of tag names.
[gedcom-parse.git] / gedcom / gedcom_internal.h
index a8c3044c1d2e85a5c0ed865b49c06687e3c6e676..7e4fc78716c372066caa5f77ef579de04490f252 100644 (file)
 #include <config.h>
 #endif
 #include <libintl.h>
-#ifdef WITH_DMALLOC
-#include <dmalloc.h>
-#endif
 
-#define _(string) gettext(string)
+#define _(string) dgettext(PACKAGE, string)
 #define N_(string) (string)
 
 #define MAXGEDCLEVEL    99
 
 #define GEDCOM_INTERNAL 1
 
+#ifdef __GNUC__
 #define UNUSED __attribute__((unused))
+#else
+#define UNUSED
+#endif
 
 struct tag_struct {
   char *string;