provide a definition for __attribute__
This commit is contained in:
parent
9b8791db6c
commit
96759472a4
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sys.h,v 1.6 2003/03/10 00:57:38 christos Exp $ */
|
||||
/* $NetBSD: sys.h,v 1.7 2003/06/19 16:19:42 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -48,6 +48,10 @@
|
||||
#include <sys/cdefs.h>
|
||||
#endif
|
||||
|
||||
#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
|
||||
# define __attribute__(A)
|
||||
#endif
|
||||
|
||||
#ifndef public
|
||||
# define public /* Externally visible functions/variables */
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user