diff options
author | Sadrul Habib Chowdhury <sadrul@pidgin.im> | 2007-06-19 21:58:56 +0000 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@pidgin.im> | 2007-06-19 21:58:56 +0000 |
commit | d4c6e6b346568e7055b0c64214c3b81efc1066e3 (patch) | |
tree | c6939a40220054055262aab8094b9a13ab1efb52 /libpurple/account.h | |
parent | 5e10aaaa75fc4b3260ce6a23aa92e898aea3a0c9 (diff) | |
download | pidgin-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.h | 4 |
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; |