mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Fixed sfwl build.
This commit is contained in:
parent
c28f3c7fe0
commit
042e1a3d16
@ -3,12 +3,16 @@
|
||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||
/*************************************************************************/
|
||||
|
||||
//--STRIP
|
||||
#include "thread.h"
|
||||
//--STRIP
|
||||
|
||||
#if !defined(NO_THREADS)
|
||||
|
||||
//--STRIP
|
||||
#include "core/error_macros.h"
|
||||
#include "core/safe_refcount.h"
|
||||
//--STRIP
|
||||
|
||||
Error (*Thread::set_name_func)(const String &) = nullptr;
|
||||
void (*Thread::set_priority_func)(Thread::Priority) = nullptr;
|
||||
@ -107,4 +111,7 @@ Thread::ID Thread::get_caller_id() {
|
||||
return caller_id;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
//--STRIP
|
||||
#endif // THREAD_H
|
||||
//--STRIP
|
||||
|
@ -1,15 +1,22 @@
|
||||
//--STRIP
|
||||
#ifndef THREAD_H
|
||||
#define THREAD_H
|
||||
//--STRIP
|
||||
|
||||
/*************************************************************************/
|
||||
/* thread.h */
|
||||
/* From https://github.com/Relintai/pandemonium_engine (MIT) */
|
||||
/*************************************************************************/
|
||||
|
||||
//--STRIP
|
||||
#include "core/typedefs.h"
|
||||
|
||||
#if !defined(NO_THREADS)
|
||||
#include "core/safe_refcount.h"
|
||||
#endif
|
||||
//--STRIP
|
||||
|
||||
#if !defined(NO_THREADS)
|
||||
#include <thread>
|
||||
#endif
|
||||
|
||||
@ -92,4 +99,6 @@ public:
|
||||
#endif
|
||||
};
|
||||
|
||||
//--STRIP
|
||||
#endif // THREAD_H
|
||||
//--STRIP
|
||||
|
Loading…
Reference in New Issue
Block a user