diff options
author | Leon Krause <lk@leonkrause.com> | 2018-03-20 04:15:27 +0100 |
---|---|---|
committer | Leon Krause <lk@leonkrause.com> | 2018-03-20 05:37:42 +0100 |
commit | 25800ffb0e9acfe9e63608eb44979f27c33fc6c1 (patch) | |
tree | 6f54b488629466d0ff42d129431fa5cc84943d74 /drivers/unix/os_unix.cpp | |
parent | c4a8b8f7c52f90ff12a8f3df60c3a4468f7626bf (diff) |
Add RWLockDummy for NO_THREADS builds
Diffstat (limited to 'drivers/unix/os_unix.cpp')
-rw-r--r-- | drivers/unix/os_unix.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 20722557e7..31c8e4ade9 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -89,10 +89,11 @@ void handle_sigchld(int sig) { void OS_Unix::initialize_core() { -#ifdef NO_PTHREADS +#ifdef NO_THREADS ThreadDummy::make_default(); SemaphoreDummy::make_default(); MutexDummy::make_default(); + RWLockDummy::make_default(); #else ThreadPosix::make_default(); SemaphorePosix::make_default(); |