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:
@@ -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??? */);
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user