From f16283b474f6e1e215be40c2ea182689cea2b5f8 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 14 May 2000 23:57:22 +0000 Subject: [PATCH] move __attribute__ from roken-common.h to roken.h.in git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8228 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken-common.h | 4 ---- lib/roken/roken.h.in | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/roken/roken-common.h b/lib/roken/roken-common.h index ca9f2c3cd..cb450468f 100644 --- a/lib/roken/roken-common.h +++ b/lib/roken/roken-common.h @@ -229,10 +229,6 @@ #define SHUT_RDWR 2 #endif -#ifndef HAVE___ATTRIBUTE__ -#define __attribute__(x) -#endif - #if IRIX != 4 /* fix for compiler bug */ #ifdef RETSIGTYPE typedef RETSIGTYPE (*SigAction)(/* int??? */); diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index a421dab6f..54d3cc9f7 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -125,6 +125,10 @@ extern "C" { #include +#ifndef HAVE___ATTRIBUTE__ +#define __attribute__(x) +#endif + #if !defined(HAVE_SETSID) && defined(HAVE__SETSID) #define setsid _setsid #endif