1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix some MSVC-specific warnings and add debug path as an MSVC directory

This commit is contained in:
kwolekr 2015-02-02 02:01:13 -05:00
parent 43f102271d
commit 0118c111e8
3 changed files with 12 additions and 10 deletions

View file

@ -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) != "");
}