Skip to content

Conversation

@TheZeldakatze
Copy link

Hello,
this patch fixes the build on Haiku. sys/timex.h seems to be linux-specific,
on Haiku you have to use time.h
Everything seems to work, running ./basisu -test seems to run fine

@Peppersawce
Copy link

Peppersawce commented Jan 17, 2026

Ah, sorry, didn't notice this one when I made #424, I'll be closing that one.

@Peppersawce Peppersawce mentioned this pull request Jan 17, 2026
{
QueryPerformanceFrequency(reinterpret_cast<LARGE_INTEGER*>(pTicks));
}
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__EMSCRIPTEN__)
Copy link

@Peppersawce Peppersawce Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of what you did just add Haiku to the line 232.
It works the same and it's cleaner.

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

Successfully merging this pull request may close these issues.

2 participants