#else
#define assert(x)
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
#ifndef streq
#define streq(s,t) ((*s == *t) && !strcmp((s),(t)))
#ifdef offsetof
#undef offsetof
#endif
+#ifdef HAVE_INTPTR_T
+#define offsetof(typ,fld) ((intptr_t)(&(((typ*)0)->fld)))
+#else
#define offsetof(typ,fld) ((int)(&(((typ*)0)->fld)))
+#endif
#define NOTUSED(var) (void) var
#define NILgraph NIL(Agraph_t*)
#include "graph.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
#ifdef offsetof
#undef offsetof
#endif
+#ifdef HAVE_INTPTR_T
+#define offsetof(typ,fld) ((intptr_t)(&(((typ*)0)->fld)))
+#else
#define offsetof(typ,fld) ((int)(&(((typ*)0)->fld)))
+#endif
#ifndef NOT
#define NOT(v) (!(v))