Fixes the EntryPointNotFoundException when running the Mono.Posix tests on Windows.
This check was introduced in
249ee0686bf87f33acf2efde76f3645ef06bb886 but the .def file wasn't updated.
With this the tests still crash so switching them off on PRs again for now.
Mono_Posix_ToSyslogOptions\r
Mono_Posix_ToWaitOptions\r
Mono_Posix_ToXattrFlags\r
+Mono_Unix_VersionString\r
CreateZStream\r
CloseZStream\r
ReadZStream\r
${TESTCMD} --label=System.Data --timeout=5m make -w -C mcs/class/System.Data run-test
${TESTCMD} --label=System.Data.OracleClient --timeout=5m make -w -C mcs/class/System.Data.OracleClient run-test;
${TESTCMD} --label=System.Design --timeout=5m make -w -C mcs/class/System.Design run-test;
-${TESTCMD} --label=Mono.Posix --timeout=5m make -w -C mcs/class/Mono.Posix run-test
+if [[ -n "${ghprbPullId}" ]] && [[ ${label} == w* ]]; then ${TESTCMD} --label=Mono.Posix --skip; else ${TESTCMD} --label=Mono.Posix --timeout=5m make -w -C mcs/class/Mono.Posix run-test; fi
${TESTCMD} --label=System.Web --timeout=30m make -w -C mcs/class/System.Web run-test
${TESTCMD} --label=System.Web.Services --timeout=5m make -w -C mcs/class/System.Web.Services run-test
${TESTCMD} --label=System.Runtime.SFS --timeout=5m make -w -C mcs/class/System.Runtime.Serialization.Formatters.Soap run-test;