Visual Studio Special Version

We have met a few problems on Visual Studio.
We have to change the header and source file to pass the compilation.
This commit is contained in:
Kirigaya Kazuto 2017-03-23 12:22:02 +08:00
parent 7ae6b3442a
commit 0bd9811452
2 changed files with 5 additions and 2 deletions

View File

@ -4,8 +4,6 @@
#include <mutex>
#include <fstream>
#include <unistd.h>
#include "rapidxml/rapidxml.hpp"
#include "rapidxml/rapidxml_print.hpp"
#include "rapidxml/rapidxml_utils.hpp"
@ -1306,6 +1304,9 @@ namespace MiniEngine
}/// End of namespace MiniEngine
/// The Following Functions are not avaliable in Visual Studio
#if 0
#include <unitstd.h>
bool isexist(std::string Path)
{
@ -1326,6 +1327,7 @@ bool canexecute(std::string Path)
{
return access(Path.c_str(),X_OK)==0;
}
#endif /// End of if 0
/// Default Setup Code
int main(int argc, char* argv[])

View File

@ -7,6 +7,7 @@
#include <string>
#include <memory>
#include <functional>
#define _DECL_DEPRECATED __declspec(deprecated)
#define _DECL_DEPRECATED_MSG(InfoString) __declspec(deprecated(InfoString))