fix for gcc/mingw

This commit is contained in:
Pr0curo
2015-09-18 17:20:45 +02:00
parent fc307d5b99
commit 1d7781e1a6

View File

@@ -430,7 +430,8 @@ namespace nana {
delete[] p;
return s;
}
return buf;
nana::string s = buf;
return s;
}
#elif defined(NANA_LINUX)
const char * s = ::getenv("PWD");