File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -384,7 +384,6 @@ jobs:
384384 with :
385385 usesh : true
386386 prepare : |
387- # workaround until R1 Beta6 is released.
388387 #yes | pkgman drop-repo HaikuPorts
389388 #pkgman add-repo https://eu.hpkg.haiku-os.org/haikuports/master/$(getarch)/current
390389 (pkgman refresh && pkgman update && pkgman install -y libsdl2_devel gtk3_devel) || echo libsdl2_devel or gtk3_devel is not installed.
Original file line number Diff line number Diff line change 112026-08-29 Araki Ken <arakiken@user.sf.net>
22
3+ * beos.cpp: Define PTHREAD_RECURSIVE_MUTEX_INITIALIZER, B_HANGUL and
4+ B_HANGUL_HANJA macros which are dropped in r1beta6.
5+
36 * ui_font_manager.c: ui_get_font() returns a font with size_attr for
47 DRCS charset.
58
Original file line number Diff line number Diff line change 2121
2222#include < pthread.h>
2323
24+ /* Backward compatibility macros for R1 Beta6 or later */
25+ #ifndef PTHREAD_RECURSIVE_MUTEX_INITIALIZER
26+ #ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
27+ #define PTHREAD_RECURSIVE_MUTEX_INITIALIZER PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
28+ #endif
29+ #endif
30+ #ifndef B_HANGUL
31+ #ifdef B_HANGUL_KEY
32+ #define B_HANGUL B_HANGUL_KEY
33+ #endif
34+ #endif
35+ #ifndef B_HANGUL_HANJA
36+ #ifdef B_HANGUL_HANJA_KEY
37+ #define B_HANGUL_HANJA B_HANGUL_HANJA_KEY
38+ #endif
39+ #endif
40+
2441extern " C" {
2542#include " ui_window.h"
2643#include " beos.h"
You can’t perform that action at this time.
0 commit comments