# HG changeset patch # User Sadrul Habib Chowdhury # Date 1182290336 0 # Node ID af15bece709743eaaa365c0b78d118a8789ee5c2 # Parent 4ea95c55e771a23ff437332589991384d0d44a21 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? diff -r 4ea95c55e771 -r af15bece7097 libpurple/account.h --- 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 #include +#ifndef G_GNUC_NULL_TERMINATED +#define G_GNUC_NULL_TERMINATED +#endif + typedef struct _PurpleAccountUiOps PurpleAccountUiOps; typedef struct _PurpleAccount PurpleAccount;