test: fix test-spawn on MinGW32
PR-URL: https://github.com/libuv/libuv/pull/161 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
2bfa2e5e22
commit
60b581fb5a
@ -988,7 +988,8 @@ TEST_IMPL(environment_creation) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (prev) { /* verify sort order -- requires Vista */
|
if (prev) { /* verify sort order -- requires Vista */
|
||||||
#if _WIN32_WINNT >= 0x0600
|
#if _WIN32_WINNT >= 0x0600 && \
|
||||||
|
(!defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR))
|
||||||
ASSERT(CompareStringOrdinal(prev, -1, str, -1, TRUE) == 1);
|
ASSERT(CompareStringOrdinal(prev, -1, str, -1, TRUE) == 1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user