mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
rx: fix compilation for non-linux platforms
This commit is contained in:
parent
9df852e48b
commit
e7408c17e6
|
|
@ -200,6 +200,8 @@ int shared_atomic32::notify_n(int count) const {
|
||||||
WakeByAddressSingle(const_cast<shared_atomic32 *>(this));
|
WakeByAddressSingle(const_cast<shared_atomic32 *>(this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 1; // FIXME
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#error Unimplemented atomic for this platform
|
#error Unimplemented atomic for this platform
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
#include "SharedMutex.hpp"
|
#include "SharedMutex.hpp"
|
||||||
#include "asm.hpp"
|
#include "asm.hpp"
|
||||||
#include <syscall.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
namespace rx {
|
namespace rx {
|
||||||
void shared_mutex::impl_lock_shared(unsigned val) {
|
void shared_mutex::impl_lock_shared(unsigned val) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue