1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Now netcode branch may be compiled with gcc. Sorry can't check build with MSVC

This commit is contained in:
Vadim Glazunov
2008-08-04 09:05:52 +00:00
parent cc7be20b07
commit 6e737bbf3c
24 changed files with 216 additions and 116 deletions

View File

@@ -79,7 +79,11 @@ std::vector<std::string> * CLuaHandler::searchForScripts(std::string fol)
std::vector<std::string> * ret = new std::vector<std::string> ();
boost::filesystem::path folder(fol);
if (!boost::filesystem::exists(folder))
#ifndef __GNUC__
throw new std::exception("No such folder!");
#else
throw new std::exception();
#endif
boost::filesystem::directory_iterator end_itr;
for
(