From 6b894220f3c029d256f7f15f41ecb2f635d25bde Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 May 2011 22:14:56 +0300 Subject: Add more MANASERV_SUPPORT defines to disable server type checks, if manaserv disabled. Fix some compilation warnings. --- src/localplayer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index 9cf0b9cfa..d3a166d85 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -36,6 +36,12 @@ #include #include +#ifdef __GNUC__ +#define _UNUSED_ __attribute__ ((unused)) +#else +#define _UNUSED_ +#endif + class ChatTab; class FloorItem; class ImageSet; -- cgit v1.2.3-70-g09d2