Skip to content

Haiku: platform support

Rafał Mikrut requested to merge github/fork/Max-Might/master into master

Created by: Max-Might

Hello.

I have been working on platform support for the Haiku operating system. This pull request adds support for the editor, platform support for keyboard, mice and sound (using the media kit API).

At the moment there is no export functionality. Most of the code is in platform/haiku and drivers/media_kit.

I had to make it link dynamically with libglew because this library has a native port for Haiku and I could not make the one included in the source compile.

There are also three ifdefs to make it use <fcntl.h> instead of <sys/fcntl.h>. I think the POSIX one is <fcntl.h> and Haiku uses it. Maybe <sys/fcntl.h> is a linuxism, I am not sure as I do not have that much knowledge in this area.

Feedback is welcome :)

Merge request reports