1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Linux fixes

This commit is contained in:
Brian Fiete 2019-09-20 16:07:04 -07:00
parent 41185e871c
commit 63191e1c86
4 changed files with 17 additions and 22 deletions

View file

@ -12,7 +12,6 @@
#include "BeefySysLib/util/Deque.h"
#include "BeefySysLib/util/HashSet.h"
#include "BeefySysLib/util/MultiHashSet.h"
#include "CrashCatcher.h"
//#include <mmsystem.h>
//#include <shellapi.h>

View file

@ -111,6 +111,7 @@ file(GLOB SRC_FILES
Debugger.cpp
DebugManager.cpp
DebugVisualizers.cpp
NetManager.cpp
SpellChecker.cpp
Targets.cpp
X64.cpp

View file

@ -198,7 +198,7 @@ void NetRequest::Perform()
DoTransfer();
}
#else
#elif defined BF_PLATFORM_WINDOWS
#include <windows.h>
#include <wininet.h>
@ -370,6 +370,18 @@ void NetRequest::Cleanup()
}
#else
void NetRequest::Perform()
{
mFailed = true;
}
void NetRequest::Cleanup()
{
}
#endif
NetRequest::~NetRequest()

View file

@ -6,10 +6,11 @@
#include "BeefySysLib/util/ThreadPool.h"
#include "BeefySysLib/util/Dictionary.h"
#ifdef BF_PLATFORM_WINDOWS
NS_BF_BEGIN
#ifdef BF_PLATFORM_WINDOWS
#define BF_CURL
#endif
class DebugManager;
class NetManager;
@ -120,21 +121,3 @@ public:
};
NS_BF_END
#else
NS_BF_BEGIN
class NetManager
{
public:
DebugManager* mDebugManager;
public:
void CancelAll() {};
void Clear() {};
};
NS_BF_END
#endif