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
This commit is contained in:
Assar Westerlund
2000-05-14 23:57:22 +00:00
parent fd43a7352e
commit f16283b474
2 changed files with 4 additions and 4 deletions

View File

@@ -229,10 +229,6 @@
#define SHUT_RDWR 2 #define SHUT_RDWR 2
#endif #endif
#ifndef HAVE___ATTRIBUTE__
#define __attribute__(x)
#endif
#if IRIX != 4 /* fix for compiler bug */ #if IRIX != 4 /* fix for compiler bug */
#ifdef RETSIGTYPE #ifdef RETSIGTYPE
typedef RETSIGTYPE (*SigAction)(/* int??? */); typedef RETSIGTYPE (*SigAction)(/* int??? */);

View File

@@ -125,6 +125,10 @@ extern "C" {
#include <roken-common.h> #include <roken-common.h>
#ifndef HAVE___ATTRIBUTE__
#define __attribute__(x)
#endif
#if !defined(HAVE_SETSID) && defined(HAVE__SETSID) #if !defined(HAVE_SETSID) && defined(HAVE__SETSID)
#define setsid _setsid #define setsid _setsid
#endif #endif