mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Linux fixes
This commit is contained in:
parent
41185e871c
commit
63191e1c86
4 changed files with 17 additions and 22 deletions
|
@ -12,7 +12,6 @@
|
||||||
#include "BeefySysLib/util/Deque.h"
|
#include "BeefySysLib/util/Deque.h"
|
||||||
#include "BeefySysLib/util/HashSet.h"
|
#include "BeefySysLib/util/HashSet.h"
|
||||||
#include "BeefySysLib/util/MultiHashSet.h"
|
#include "BeefySysLib/util/MultiHashSet.h"
|
||||||
#include "CrashCatcher.h"
|
|
||||||
|
|
||||||
//#include <mmsystem.h>
|
//#include <mmsystem.h>
|
||||||
//#include <shellapi.h>
|
//#include <shellapi.h>
|
||||||
|
|
|
@ -111,6 +111,7 @@ file(GLOB SRC_FILES
|
||||||
Debugger.cpp
|
Debugger.cpp
|
||||||
DebugManager.cpp
|
DebugManager.cpp
|
||||||
DebugVisualizers.cpp
|
DebugVisualizers.cpp
|
||||||
|
NetManager.cpp
|
||||||
SpellChecker.cpp
|
SpellChecker.cpp
|
||||||
Targets.cpp
|
Targets.cpp
|
||||||
X64.cpp
|
X64.cpp
|
||||||
|
|
|
@ -198,7 +198,7 @@ void NetRequest::Perform()
|
||||||
DoTransfer();
|
DoTransfer();
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#elif defined BF_PLATFORM_WINDOWS
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <wininet.h>
|
#include <wininet.h>
|
||||||
|
@ -370,6 +370,18 @@ void NetRequest::Cleanup()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
void NetRequest::Perform()
|
||||||
|
{
|
||||||
|
mFailed = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void NetRequest::Cleanup()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NetRequest::~NetRequest()
|
NetRequest::~NetRequest()
|
||||||
|
|
|
@ -6,10 +6,11 @@
|
||||||
#include "BeefySysLib/util/ThreadPool.h"
|
#include "BeefySysLib/util/ThreadPool.h"
|
||||||
#include "BeefySysLib/util/Dictionary.h"
|
#include "BeefySysLib/util/Dictionary.h"
|
||||||
|
|
||||||
#ifdef BF_PLATFORM_WINDOWS
|
|
||||||
|
|
||||||
NS_BF_BEGIN
|
NS_BF_BEGIN
|
||||||
|
|
||||||
|
#ifdef BF_PLATFORM_WINDOWS
|
||||||
#define BF_CURL
|
#define BF_CURL
|
||||||
|
#endif
|
||||||
|
|
||||||
class DebugManager;
|
class DebugManager;
|
||||||
class NetManager;
|
class NetManager;
|
||||||
|
@ -120,21 +121,3 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_BF_END
|
NS_BF_END
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
NS_BF_BEGIN
|
|
||||||
|
|
||||||
class NetManager
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
DebugManager* mDebugManager;
|
|
||||||
|
|
||||||
public:
|
|
||||||
void CancelAll() {};
|
|
||||||
void Clear() {};
|
|
||||||
};
|
|
||||||
|
|
||||||
NS_BF_END
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Add table
Add a link
Reference in a new issue