James Hawkins truiken@gmail.com writes:
@@ -30,6 +30,7 @@ #define NO_SHLWAPI_REG #include "shlwapi.h" #undef NO_SHLWAPI_REG +#include "msvcrt/fcntl.h"
You shouldn't use msvcrt headers if you are not importing msvcrt, this will cause trouble. Simply copy the definitions you need, like we already do for S_IREAD/IWRITE.