We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I checked this repo out in a msys2 environment under windows and call make. I eventually end up with the error
make
woff2sfnt.c:189:33: error: 'O_BINARY' undeclared (first use in this function) setmode(fileno(stdout), O_BINARY);
A quick search came up with this. Have you heard of this before?
Best, Bernhard
The text was updated successfully, but these errors were encountered:
To fix this add this piece of code to the top of woff2sfnt.c, below the last #include:
woff2sfnt.c
#include
#ifdef WIN32 #include <fcntl.h> #include <io.h> #if defined(_O_BINARY) && !defined(O_BINARY) #define O_BINARY _O_BINARY #define setmode _setmode #define fileno _fileno #endif #endif
Sorry, something went wrong.
No branches or pull requests
Hi,
I checked this repo out in a msys2 environment under windows and call
make
. I eventually end up with the errorA quick search came up with this. Have you heard of this before?
Best,
Bernhard
The text was updated successfully, but these errors were encountered: