mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 06:35:33 +00:00
Merge branch 'master' into ModularizeBPTC
This commit is contained in:
commit
5725220ba6
|
@ -64,7 +64,7 @@ TEST(VectorBase, Constructors) {
|
||||||
for(int i = 0; i < 7; i++)
|
for(int i = 0; i < 7; i++)
|
||||||
v7i[i] = -i;
|
v7i[i] = -i;
|
||||||
FasTC::VectorBase<unsigned, 16> v16u;
|
FasTC::VectorBase<unsigned, 16> v16u;
|
||||||
for(int i = 0; i < 7; i++)
|
for(int i = 0; i < 16; i++)
|
||||||
v16u[i] = i;
|
v16u[i] = i;
|
||||||
|
|
||||||
#define TEST_VECTOR_COPY_CONS(v, t, n) \
|
#define TEST_VECTOR_COPY_CONS(v, t, n) \
|
||||||
|
|
|
@ -140,6 +140,8 @@ void TCThread::Yield() {
|
||||||
uint64 TCThread::ThreadID() {
|
uint64 TCThread::ThreadID() {
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
return static_cast<uint64>(pthread_self().x);
|
return static_cast<uint64>(pthread_self().x);
|
||||||
|
#elif defined __APPLE__
|
||||||
|
return reinterpret_cast<uint64>(pthread_self());
|
||||||
#else
|
#else
|
||||||
return static_cast<uint64>(pthread_self());
|
return static_cast<uint64>(pthread_self());
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue