summaryrefslogblamecommitdiff
path: root/devel/glib12/files/patch-af
blob: 2af9749e9775f22a41477fbef1a4604b041bdc3f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
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