From ce8291e9238c6ecd5fcd47547060387f81180b18 Mon Sep 17 00:00:00 2001 From: plagman Date: Sun, 16 Jan 2011 03:56:12 +0000 Subject: [PATCH] Don't include compat.h from protocol.c and define UNREFERENCED_PARAMETER directly instead to fix the MinGW build. git-svn-id: https://svn.eduke32.com/eduke32@1767 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/enet/src/protocol.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/enet/src/protocol.c b/polymer/eduke32/source/enet/src/protocol.c index d090b1d23..a1820ce13 100644 --- a/polymer/eduke32/source/enet/src/protocol.c +++ b/polymer/eduke32/source/enet/src/protocol.c @@ -8,7 +8,10 @@ #include "enet/utility.h" #include "enet/time.h" #include "enet/enet.h" -#include "compat.h" + +#ifndef UNREFERENCED_PARAMETER +# define UNREFERENCED_PARAMETER(x) x=x +#endif static size_t commandSizes [ENET_PROTOCOL_COMMAND_COUNT] = {