Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: Win32: Don't check folds validity
This code will check, when warnings are on, that the libc functions return valid values. But Windows platforms will always fail because they have multiple divergences from the Posix standard. The macros that implement the case changing/folding in handy.h take extra steps to bring Windows code more into alignment with Posix. Those are too complicated to easily duplicate the logic here. The result of these checks is looked at by our test suite, which has long, without anyone noticing, skipped portions on Windows, even though handy.h should correct for this. So simply, don't do the checking under Windows, and find out what handy.h has failed to fully correct for.
- Loading branch information