From 0118c111e8f12602b03cee8deb4c86f9b9e28cf3 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Mon, 2 Feb 2015 02:01:13 -0500 Subject: Fix some MSVC-specific warnings and add debug path as an MSVC directory --- src/porting.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/porting.cpp') diff --git a/src/porting.cpp b/src/porting.cpp index 584d2e2a2..e99d08426 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -290,7 +290,11 @@ void pathRemoveFile(char *path, char delim) bool detectMSVCBuildDir(char *c_path) { std::string path(c_path); - const char *ends[] = {"bin\\Release", "bin\\Build", NULL}; + const char *ends[] = { + "bin\\Release", + "bin\\Debug", + "bin\\Build", + NULL}; return (removeStringEnd(path, ends) != ""); } -- cgit v1.2.3