summaryrefslogtreecommitdiff
path: root/devel/glib12/files/patch-glib.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib12/files/patch-glib.h')
-rw-r--r--devel/glib12/files/patch-glib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/glib12/files/patch-glib.h b/devel/glib12/files/patch-glib.h
new file mode 100644
index 000000000000..2af9749e9775
--- /dev/null
+++ b/devel/glib12/files/patch-glib.h
@@ -0,0 +1,14 @@
+--- glib.h.orig Sun Sep 5 23:34:07 1999
++++ glib.h Thu Sep 16 01:32:54 1999
+@@ -108,7 +108,11 @@
+ * defined then the current definition is correct.
+ */
+ #ifndef NULL
++#ifdef __cplusplus
++#define NULL (0)
++#else
+ #define NULL ((void*) 0)
++#endif
+ #endif
+
+ #ifndef FALSE