freakishness commented on code in PR #22595: URL: https://github.com/apache/nuttx/pull/22595#discussion_r4737175612
########## tools/mkpasswd.c: ########## @@ -55,19 +55,30 @@ # define _POSIX_C_SOURCE 200809L #endif +/* The Windows C library, which the MinGW and UCRT toolchains of an MSYS2 + * shell also link, has neither getrandom() nor /dev/urandom, so its C + * runtime random number is used for the salt there. _CRT_RAND_S must be + * defined before <stdlib.h> is included. + */ + +#if defined(CONFIG_WINDOWS_NATIVE) || defined(__MINGW32__) Review Comment: My bad, I noticed this issue when submitting the PR, and it's fixed now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
