diff libpurple/internal.h @ 18202:7df46d8bf114

Move the define in internal.h instead. This requires all .c files to include internal.h before including the other headers. Perhaps we should add the define in CFLAGS instead, when necessary.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 19 Jun 2007 22:47:12 +0000
parents f160b6e84d0c
children 4cc042912ac2
line wrap: on
line diff
--- a/libpurple/internal.h	Tue Jun 19 21:58:56 2007 +0000
+++ b/libpurple/internal.h	Tue Jun 19 22:47:12 2007 +0000
@@ -170,6 +170,10 @@
 #	endif
 #endif
 
+#ifndef G_GNUC_NULL_TERMINATED
+#	define G_GNUC_NULL_TERMINATED
+#endif
+
 /* Safer ways to work with static buffers. When using non-static
  * buffers, either use g_strdup_* functions (preferred) or use
  * g_strlcpy/g_strlcpy directly. */