From 06694026a2094f2cc8bc301f4879b75eb6c3dea4 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 20 Dec 1998 15:35:17 +0000 Subject: [PATCH] __attribute__: check for autoconf'd HAVE___ATTRIBUTE__ instead of GNUC git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5267 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roken/roken-common.h b/lib/roken/roken-common.h index fce0cdb3d..1610ae6d5 100644 --- a/lib/roken/roken-common.h +++ b/lib/roken/roken-common.h @@ -121,7 +121,7 @@ #define SIG_ERR ((RETSIGTYPE (*)())-1) #endif -#if !defined(__GNUC__) && !defined(__attribute__) +#ifndef HAVE___ATTRIBUTE__ #define __attribute__(x) #endif