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
Describe the bug When building natively on Windows with MinGW-w64 there was an error in src/supplemental/nanolib/file.c in the following line=
src/supplemental/nanolib/file.c
ret = mkdir(fpath, 0777);
The problem is that mkdir() only takes one argument on Windows.
mkdir()
However there seems to be a solution for this in the same file by defining the nano_mkdir() macro.
nano_mkdir()
Replacing the above line with the following does allow it to build:
ret = nano_mkdir(fpath, 0777);
The text was updated successfully, but these errors were encountered:
Oh, yep, The code in this file is obsolated mostly, you can remove file_create_dir() API. or wait for our next release
Sorry, something went wrong.
JaylinYu
No branches or pull requests
Describe the bug
When building natively on Windows with MinGW-w64 there was an error in
src/supplemental/nanolib/file.c
in the following line=The problem is that
mkdir()
only takes one argument on Windows.However there seems to be a solution for this in the same file by defining the
nano_mkdir()
macro.Replacing the above line with the following does allow it to build:
The text was updated successfully, but these errors were encountered: