From 5fcbdf3dd11619d2d18d6dd7a8d9f8a940af7887 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 22 Jun 2009 20:48:56 +0000 Subject: [PATCH] Fix r1438 crash on win32 git-svn-id: https://svn.eduke32.com/eduke32@1439 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/nedmalloc.h | 4 ++++ polymer/eduke32/build/src/nedmalloc.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/build/include/nedmalloc.h b/polymer/eduke32/build/include/nedmalloc.h index 4cc30ed9c..44ab695c4 100644 --- a/polymer/eduke32/build/include/nedmalloc.h +++ b/polymer/eduke32/build/include/nedmalloc.h @@ -80,6 +80,10 @@ ACQUIRE_LOCK, RELEASE_LOCK, TRY_LOCK, IS_LOCKED and NULL_LOCK_INITIALIZER. #endif #endif +#ifndef UNREFERENCED_PARAMETER +#define UNREFERENCED_PARAMETER(x) x=x +#endif + #ifndef NO_MALLINFO #define NO_MALLINFO 0 #endif diff --git a/polymer/eduke32/build/src/nedmalloc.c b/polymer/eduke32/build/src/nedmalloc.c index 8b7d149f1..17d0d653b 100644 --- a/polymer/eduke32/build/src/nedmalloc.c +++ b/polymer/eduke32/build/src/nedmalloc.c @@ -33,7 +33,6 @@ DEALINGS IN THE SOFTWARE. /*#define FULLSANITYCHECKS*/ -#include "compat.h" /* For unreferenced Parameter */ #include "nedmalloc.h" #ifdef _WIN32 #include