mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
Remove base/logging.h in a whole lot more places.
This commit is contained in:
1 parent
5eb13378c6
commit
c41f875df4
36 files changed
+136
-127
No files matched your search
@@ -8,10 +8,13 @@
|
||||
#define TLS_SUPPORTED
|
||||
#endif
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "base/logging.h"
|
||||
#include "thread/threadutil.h"
|
||||
|
||||
#include "Common/Log.h"
|
||||
|
||||
#if defined(__ANDROID__) || defined(__APPLE__) || (defined(__GLIBC__) && defined(_GNU_SOURCE))
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
@@ -115,7 +118,7 @@ void setCurrentThreadName(const char* threadName) {
|
||||
void AssertCurrentThreadName(const char *threadName) {
|
||||
#ifdef TLS_SUPPORTED
|
||||
if (strcmp(curThreadName, threadName) != 0) {
|
||||
ELOG("Thread name assert failed: Expected %s, was %s", threadName, curThreadName);
|
||||
ERROR_LOG(SYSTEM, "Thread name assert failed: Expected %s, was %s", threadName, curThreadName);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user