mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibCore: Only build CThread on Serenity platforms.
This commit is contained in:
parent
6a5446d6dd
commit
e940d4b07b
2 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef __serenity__
|
||||
|
||||
class CThread {
|
||||
public:
|
||||
static CThread& main_thread();
|
||||
|
@ -16,3 +18,6 @@ private:
|
|||
|
||||
int m_thread_id { -1 };
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue