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

emscripten no longer provides sys/timex.h, but does provide sys/time.h #328

Merged
merged 2 commits into from
Oct 7, 2022

Conversation

walkingeyerobot
Copy link
Contributor

Copy link
Contributor

@kenrussell kenrussell left a comment

Choose a reason for hiding this comment

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

Looks fine to me, and while I seem to have privileges to approve this, let's give Binomial a chance to review.

Copy link
Contributor

@dschuff dschuff left a comment

Choose a reason for hiding this comment

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

I think checking for emscripten instead of Wasm is better here; Wasm is the architecture and Emscripten is playing the role of the OS/SDK here. If you wanted to compile with some other Wasm SDK (e.g. wasi-sdk) in the future, it could potentially have a different set of include files.

encoder/basisu_enc.cpp Outdated Show resolved Hide resolved
@kenrussell
Copy link
Contributor

Great catch @dschuff and thanks @walkingeyerobot for updating this.

@richgel999
Copy link
Contributor

Got it - I'm reviewing.

@richgel999 richgel999 merged commit a91e94c into BinomialLLC:master Oct 7, 2022
@richgel999
Copy link
Contributor

Got it thanks!

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.

4 participants