Skip to content

Commit

Permalink
Buildfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Feb 28, 2017
1 parent 26a2d42 commit d463976
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,6 @@ add_library(native STATIC
ext/native/base/display.h
ext/native/base/linked_ptr.h
ext/native/base/logging.h
ext/native/base/mutex.h
ext/native/base/stringutil.cpp
ext/native/base/stringutil.h
ext/native/base/timeutil.cpp
Expand Down
2 changes: 2 additions & 0 deletions Core/FileLoaders/RamCachingFileLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <algorithm>
#include <thread>
#include <cstring>
#include <cstdlib>

#include "base/timeutil.h"
#include "thread/threadutil.h"
#include "Core/FileLoaders/RamCachingFileLoader.h"
Expand Down
4 changes: 3 additions & 1 deletion GPU/Debugger/Stepping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.

#include <mutex>
#include <condition_variable>

#include "GPU/Common/GPUDebugInterface.h"
#include "GPU/Debugger/Stepping.h"
#include "GPU/GPUState.h"
Expand Down Expand Up @@ -201,4 +203,4 @@ void ForceUnpause() {
actionWait.notify_one();
}

} // namespace
} // namespace
3 changes: 2 additions & 1 deletion android/jni/app-android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <GLES2/gl2ext.h>
#include <queue>
#include <mutex>
#include <thread>

#include "base/basictypes.h"
#include "base/stringutil.h"
Expand Down Expand Up @@ -319,7 +320,7 @@ void AndroidVulkanContext::Resize() {
void AndroidVulkanContext::SwapInterval(int interval) {
}

static std::recursive_mutex frameCommandLock;
static std::mutex frameCommandLock;
static std::queue<FrameCommand> frameCommands;

std::string systemName;
Expand Down
1 change: 1 addition & 0 deletions ext/native/thread/threadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <vector>
#include <thread>
#include <mutex>
#include <condition_variable>

// This is the simplest possible worker implementation I can think of
// but entirely sufficient for the given purpose.
Expand Down

0 comments on commit d463976

Please sign in to comment.