diff --git a/src/Platform_Posix.c b/src/Platform_Posix.c index 63ad4f586..1bb56e988 100644 --- a/src/Platform_Posix.c +++ b/src/Platform_Posix.c @@ -345,7 +345,7 @@ void Thread_Run(void** handle, Thread_StartFunc func, int stackSize, const char* if (res) Logger_Abort2(res, "Creating thread"); pthread_attr_destroy(&attrs); - #ifdef CC_BUILD_LINUX + #if defined CC_BUILD_LINUX || defined CC_BUILD_HAIKU extern int pthread_setname_np(pthread_t thread, const char *name); pthread_setname_np(*ptr, name); #endif @@ -942,6 +942,12 @@ cc_bool Updater_Clean(void) { return true; } #else const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 }; #endif +#elif defined CC_BUILD_HAIKU + #if __x86_64__ + const struct UpdaterInfo Updater_Info = { "", 1, { { "OpenGL", "cc-haiku-64" } } }; + #else + const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 }; + #endif #else const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 }; #endif diff --git a/src/interop_BeOS.cpp b/src/interop_BeOS.cpp index ef7546cb1..07bd665d7 100644 --- a/src/interop_BeOS.cpp +++ b/src/interop_BeOS.cpp @@ -284,7 +284,6 @@ static void UpdateMouseButtons(int buttons) { } static void HandleMouseMovement(BMessage* msg) { - msg->PrintToStream(); int dx, dy; float prs;