Code cleanup: removing config.h and cleaning up platform.h

This commit is contained in:
Ben Vanik
2015-05-02 01:41:39 -07:00
parent 30f7effa73
commit 4d15b2296e
21 changed files with 41 additions and 163 deletions

View File

@@ -294,7 +294,7 @@ X_STATUS XThread::PlatformCreate() {
int result_code;
if (creation_params_.creation_flags & 0x1) {
#if XE_PLATFORM_OSX
#if XE_PLATFORM_MAC
result_code = pthread_create_suspended_np(
reinterpret_cast<pthread_t*>(&thread_handle_), &attr,
&XThreadStartCallbackPthreads, this);