summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@src.gnome.org>2006-03-31 12:45:40 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-03-31 12:45:40 +0000
commit710c351ea85b05fff46686fcd833cafb509a50cf (patch)
tree13dded075cfa3b983204b2a0c49c0fbc2c867dd8
parent9e6a19d45496ead8334bc24d89f5208da9e30e8b (diff)
downloadpango-710c351ea85b05fff46686fcd833cafb509a50cf.tar.gz
Define NULL.
-rw-r--r--pango/opentype/harfbuzz-impl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pango/opentype/harfbuzz-impl.h b/pango/opentype/harfbuzz-impl.h
index 25310141..78fb1ecc 100644
--- a/pango/opentype/harfbuzz-impl.h
+++ b/pango/opentype/harfbuzz-impl.h
@@ -18,7 +18,9 @@
FT_BEGIN_HEADER
-#include "ftglue.h"
+#ifndef NULL
+# define NULL ((void *)0)
+#endif
#ifndef FALSE
# define FALSE 0
@@ -28,6 +30,8 @@ FT_BEGIN_HEADER
# define TRUE 1
#endif
+#include "ftglue.h"
+
#define ARRAY_LEN(Array) ((int)(sizeof (Array) / sizeof (Array)[0]))