diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 1999-05-30 02:47:14 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 1999-05-30 02:47:14 +0000 |
commit | 4f081102b7647bc4d2cbd38102289bb9f93aad13 (patch) | |
tree | 0583f526bd5ed385b67e8eb027abd6869c19aaf6 /games/hunt/huntd | |
parent | 38e32dbd0ac388cd4ee9f335bb5eb94afd4f2c44 (diff) |
Only use __attribute__ if __GNUC__ is defined
Diffstat (limited to 'games/hunt/huntd')
-rw-r--r-- | games/hunt/huntd/server.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <stdio.h> #include <sys/socket.h> +#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) |