From 4f081102b7647bc4d2cbd38102289bb9f93aad13 Mon Sep 17 00:00:00 2001 From: Paul Janzen Date: Sun, 30 May 1999 02:47:14 +0000 Subject: Only use __attribute__ if __GNUC__ is defined --- games/hunt/huntd/server.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'games/hunt/huntd') diff --git a/games/hunt/huntd/server.h b/games/hunt/huntd/server.h index 9731d08da2a..05cb98c680b 100644 --- a/games/hunt/huntd/server.h +++ b/games/hunt/huntd/server.h @@ -1,4 +1,4 @@ -/* $OpenBSD: server.h,v 1.2 1999/02/01 06:53:56 d Exp $ */ +/* $OpenBSD: server.h,v 1.3 1999/05/30 02:47:13 pjanzen Exp $ */ /* $NetBSD: hunt.h,v 1.5 1998/09/13 15:27:28 hubertf Exp $ */ /* @@ -10,6 +10,10 @@ #include #include +#ifndef __GNUC__ +#define __attribute__(x) +#endif + /* * Choose MAXPL and MAXMON carefully. The screen is assumed to be * 23 lines high and will only tolerate (MAXPL == 17 && MAXMON == 0) -- cgit v1.2.3