Skip to content
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

Adding Haiku to the platforms #3

Open
Begasus opened this issue Oct 29, 2019 · 2 comments
Open

Adding Haiku to the platforms #3

Begasus opened this issue Oct 29, 2019 · 2 comments

Comments

@Begasus
Copy link

Begasus commented Oct 29, 2019

Is there a specific number if we want to add "#define FX_HAIKU" here?

#define _FX_ANDROID_ 12

@MartinMikita
Copy link
Member

You should set the value, which would correspond with other values using bitwise operation. If you want to declare it as separate platform, probably the best would be 16

@Begasus
Copy link
Author

Begasus commented Oct 29, 2019

I can use:

#elif defined(__HAIKU__)
#define _FX_OS_ _FX_HAIKU_
#define _FXM_PLATFORM_ _FXM_PLATFORM_LINUX_

Used:

#define _FX_HAIKU_           13

This worked to get TEXmaker building on Haiku, I'll change that to 16 then, thanks for your quick reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants