-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Error when building: "‘struct dirent’ has no member named ‘d_reclen’" #141
Comments
also found this which doesn't have the field |
In Windows, you need use VisualStudio to compile it. I have not tried using #define LCUI_BUILD_IN_WIN32
#define _WIN32 |
I'm trying to do it without visual studio because I want to make rust bindings I found a workaround for this issue, which is replacing |
Any other questions need my help? |
- LCUI_DecodeString( dir->entry.name, d->d_name,
- d->d_reclen + 1, ENCODING_UTF8 );
+ LCUI_DecodeString( dir->entry.name, d->d_name, 0, ENCODING_UTF8 ); |
Reproduction Steps:
make
LCUI version: latest master
OS and version: Win10
Build tools: cygwin make
The text was updated successfully, but these errors were encountered: