From 7203a23706ab0f5cc7c2ba06fb603acde8dcdfee Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 4 Dec 2016 17:04:38 +0100 Subject: [PATCH] Fixed: Warning with VC++ 2015 --HG-- branch : develop --- code/nel/src/misc/debug.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/nel/src/misc/debug.cpp b/code/nel/src/misc/debug.cpp index 01fe6257a..ce764d0b5 100644 --- a/code/nel/src/misc/debug.cpp +++ b/code/nel/src/misc/debug.cpp @@ -23,7 +23,9 @@ # include # include # pragma comment(lib, "imagehlp.lib") -# define getcwd(_a, _b) (_getcwd(_a,_b)) +# ifndef getcwd +# define getcwd(_a, _b) (_getcwd(_a,_b)) +# endif # ifdef NL_OS_WIN64 # define DWORD_TYPE DWORD64 # else