-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Haiku: Add support #193
base: master
Are you sure you want to change the base?
Haiku: Add support #193
Conversation
btw in this port libraries are stored in lib/ and not in bin/ (except game, which in hl2/bin for example) which is already in haiku's LIBRARY_PATH so we needn't crutches in launcher_main |
@@ -109,7 +109,7 @@ typedef unsigned short ushort; | |||
|
|||
template < class A > | |||
static const char *GetFmtStr( int nRadix = 10, bool bPrint = true ) { Assert( 0 ); return ""; } | |||
#if defined( LINUX ) || defined( __clang__ ) || ( defined( _MSC_VER ) && _MSC_VER >= 1900 ) | |||
#if defined( LINUX ) || defined( __clang__ ) || ( defined( _MSC_VER ) && _MSC_VER >= 1900 ) || defined(PLATFORM_HAIKU) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe better detect gcc here? maybe see later if it will be needed
@@ -161,7 +161,7 @@ bool CVGuiSystemModuleLoader::LoadPlatformModules(CreateInterfaceFn *factorylist | |||
{ | |||
dllPath = it->GetString("dll_osx"); | |||
} | |||
else if ( IsLinux() || IsBSD() ) | |||
else if ( IsPosix() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is better to just use ifdefs?
if bld.env.DEST_OS == 'haiku': | ||
defines += ['HAVE_FC=0'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Solve fontconfig can't find fonts
Тем не менее, его даже freebsd использует, и, думаю, macos тоже, всем очень весело, особенно вафу
|
не туда, спасибо email |
a65e792
to
92028d4
Compare
2ce4d63
to
0114bd7
Compare
Closes nillerusr#72 and uses some patches from nillerusr#193 for better portability between UNIXes. Also this patch replaces so many NULLs with 0 or '\0' because musl headers redefines it and anyway it is better practice. Moreover, due to very "cool" code from Valve, some modules comes with disabled fortify which distributes with build-base in Alpine (fortify is something like compile-time checking for memory bounds)
358c568
to
b38bccd
Compare
Closes nillerusr#72 and uses some patches from nillerusr#193 for better portability between UNIXes. Also this patch replaces so many NULLs with 0 or '\0' because musl headers redefines it and anyway it is better practice. Moreover, due to very "cool" code from Valve, some modules comes with disabled fortify which distributes with build-base in Alpine (fortify is something like compile-time checking for memory bounds)
dfaccca
to
f2fa241
Compare
Closes nillerusr#72 and uses some patches from nillerusr#193 for better portability between UNIXes. Also this patch replaces so many NULLs with 0 or '\0' because musl headers redefines it and anyway it is better practice. Moreover, due to very "cool" code from Valve, some modules comes with disabled fortify which distributes with build-base in Alpine (fortify is something like compile-time checking for memory bounds)
Closes nillerusr#72 and uses some patches from nillerusr#193 for better portability between UNIXes. Also this patch replaces so many NULLs with 0 or '\0' because musl headers redefines it and anyway it is better practice. Moreover, due to very "cool" code from Valve, some modules comes with disabled fortify which distributes with build-base in Alpine (fortify is something like compile-time checking for memory bounds)
TODO: Test with hardware acceleration