mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
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:
parent
7ae6b3442a
commit
0bd9811452
|
@ -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[])
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
|
||||
#define _DECL_DEPRECATED __declspec(deprecated)
|
||||
#define _DECL_DEPRECATED_MSG(InfoString) __declspec(deprecated(InfoString))
|
||||
|
|
Loading…
Reference in New Issue
Block a user