From 6f37f0e1126ad3776b80dbd64701f38a58738921 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 6 Nov 2005 15:00:43 +0000 Subject: add new client state AVAHI_CLIENT_FAILURE git-svn-id: file:///home/lennart/svn/public/avahi/trunk@931 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/gccmacro.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'avahi-common') diff --git a/avahi-common/gccmacro.h b/avahi-common/gccmacro.h index 2e427b7..78a09a7 100644 --- a/avahi-common/gccmacro.h +++ b/avahi-common/gccmacro.h @@ -28,13 +28,9 @@ AVAHI_C_DECL_BEGIN -#ifdef __GNUC__ -#if __GNUC__ >= 4 +#if defined(__GNUC__) && (__GNUC__ >= 4) #define AVAHI_GCC_SENTINEL __attribute__ ((sentinel)) -#endif -#endif - -#ifndef AVAHI_GCC_SENTINEL +#else /** Macro for usage of GCC's sentinel compilation warnings */ #define AVAHI_GCC_SENTINEL #endif -- cgit