mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 00:56:40 -04:00
Haiku: Updates works for 64 bit OS, and thread naming works now too
This commit is contained in:
parent
9daf872e57
commit
2ab73f7d6c
@ -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
|
||||
|
@ -284,7 +284,6 @@ static void UpdateMouseButtons(int buttons) {
|
||||
}
|
||||
|
||||
static void HandleMouseMovement(BMessage* msg) {
|
||||
msg->PrintToStream();
|
||||
int dx, dy;
|
||||
float prs;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user