changeset 18201:af15bece7097

G_GNUC_NULL_TERMINATED requires a high glib version. So define it to nothing for older versions. There was vivid suggestions on d@cpi to define it in internal.h by multiple devs. Doing that probably would've required other plugins to detect glib versions and do the define. So I am putting it in account.h instead. Does this look alright?
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 19 Jun 2007 21:58:56 +0000
parents 4ea95c55e771
children 7df46d8bf114
files libpurple/account.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/account.h	Tue Jun 19 21:49:00 2007 +0000
+++ b/libpurple/account.h	Tue Jun 19 21:58:56 2007 +0000
@@ -31,6 +31,10 @@
 #include <glib.h>
 #include <glib-object.h>
 
+#ifndef G_GNUC_NULL_TERMINATED
+#define G_GNUC_NULL_TERMINATED
+#endif
+
 typedef struct _PurpleAccountUiOps PurpleAccountUiOps;
 typedef struct _PurpleAccount      PurpleAccount;