Beginnings of write support.
[gedcom-parse.git] / gom / gom_internal.h
index d00ca74ed6217d894e9f541c612d477ede41d4f8..2038c267433f54ce24024a4df8c5fe2c00008d57 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include <libintl.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "gom.h"
 #include "gedcom.h"
-#ifdef WITH_DMALLOC
-#include <dmalloc.h>
-#endif
       
-#define _(string) gettext(string)
+#define _(string) dgettext(PACKAGE, string)
 #define N_(string) (string)
 
+#ifdef __GNUC__
 #define UNUSED __attribute__((unused))
+#else
+#define UNUSED
+#endif
 
 typedef enum {
   T_NULL,