summaryrefslogtreecommitdiff
path: root/libpurple/account.h
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@pidgin.im>2007-06-19 21:58:56 +0000
committerSadrul Habib Chowdhury <sadrul@pidgin.im>2007-06-19 21:58:56 +0000
commitd4c6e6b346568e7055b0c64214c3b81efc1066e3 (patch)
treec6939a40220054055262aab8094b9a13ab1efb52 /libpurple/account.h
parent5e10aaaa75fc4b3260ce6a23aa92e898aea3a0c9 (diff)
downloadpidgin-d4c6e6b346568e7055b0c64214c3b81efc1066e3.tar.gz
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?
Diffstat (limited to 'libpurple/account.h')
-rw-r--r--libpurple/account.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpurple/account.h b/libpurple/account.h
index 6ce5631d37..44d9a40681 100644
--- a/libpurple/account.h
+++ b/libpurple/account.h
@@ -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;