Haiku support (#596)
* Don't apply Wayland videodriver workaround on Haiku * dirent.d_type-less type detecting in IGFD The Dumb Way(tm). `stat`'s `st_mode` should be nicer? * CMake check for dirent.d_type, stat-based fallback * Move config dir setup to separate function Nicer to work with than macro kerfuffle. * Default sysFileDialog to off on Haiku * Logging stuff * Honour CMAKE_INSTALL_BINDIR * Use find_directory on Haiku Includes forgotten configPath line when home==NULL. * Address PR review notes
This commit is contained in:
parent
de77d51d7a
commit
e08399156a
8 changed files with 152 additions and 97 deletions
7
src/check/check_dirent_type.c
Normal file
7
src/check/check_dirent_type.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include <dirent.h>
|
||||
|
||||
int main(int, char**) {
|
||||
struct dirent deTest = { };
|
||||
unsigned char deType = deTest.d_type;
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue