__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
This commit is contained in:
Assar Westerlund
1998-12-20 15:35:17 +00:00
parent 4d816f025a
commit 06694026a2

View File

@@ -121,7 +121,7 @@
#define SIG_ERR ((RETSIGTYPE (*)())-1)
#endif
#if !defined(__GNUC__) && !defined(__attribute__)
#ifndef HAVE___ATTRIBUTE__
#define __attribute__(x)
#endif