Fix a Borland compile error. Now fix the linking...

This commit is contained in:
Dion Nicolaas
2015-04-26 15:47:14 +02:00
parent a717d06ce4
commit 29b9cb7c7d

View File

@@ -1,4 +1,5 @@
/* NetHack 3.5 sp_lev.c $NHDT-Date: 1429755531 2015/04/23 02:18:51 $ $NHDT-Branch: master $:$NHDT-Revision: 1.50 $ */
/* NetHack 3.5 sp_lev.c $Date: 2011/01/05 01:28:36 $ $Revision: 1.23 $ */
/* Copyright (c) 1989 by Jean-Christophe Collet */
/* NetHack may be freely redistributed. See license for details. */
@@ -384,6 +385,10 @@ opvar_free_x(ov)
Free(ov);
}
/* Borland doesn't know __FUNCTION__ */
#ifdef __BORLANDC__
#define __FUNCTION__ __FUNC__
#endif
#define opvar_free(ov) { if (ov) { opvar_free_x(ov); ov = NULL; } else impossible("opvar_free(), %s", __FUNCTION__); }
struct opvar *