Mercurial > pidgin
comparison finch/libgnt/gntinternal.h @ 28870:97f04fd369a0
*** Plucked rev ea18c8ce78c0229a5b968aab268f38e9bcae0aee (8e1d807c1aadfb510e14f047d2cf00e0c06be465):
Fix building finch & libgnt using older gcc or non-gcc compilers that do
not understand G_GNUC_NULL_TERMINATED
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 08 Jan 2010 01:30:43 +0000 |
parents | a18f421696dc |
children |
comparison
equal
deleted
inserted
replaced
28869:47672ba67bae | 28870:97f04fd369a0 |
---|---|
30 # define gnt_warning(format, args...) g_warning("(%s) %s: " format, GNT_LOG_DOMAIN, __PRETTY_FUNCTION__, args) | 30 # define gnt_warning(format, args...) g_warning("(%s) %s: " format, GNT_LOG_DOMAIN, __PRETTY_FUNCTION__, args) |
31 #else /* __GNUC__ */ | 31 #else /* __GNUC__ */ |
32 # define gnt_warning g_warning | 32 # define gnt_warning g_warning |
33 #endif | 33 #endif |
34 | 34 |
35 #ifndef G_GNUC_NULL_TERMINATED | |
36 # if defined(__GNUC__) && __GNUC__ >= 4 | |
37 # define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) | |
38 # else | |
39 # define G_GNUC_NULL_TERMINATED | |
40 # endif | |
41 #endif | |
42 | |
35 extern int gnt_need_conversation_to_locale; | 43 extern int gnt_need_conversation_to_locale; |
36 extern const char *C_(const char *x); | 44 extern const char *C_(const char *x); |
37 | 45 |