We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51495b1 commit 87b8c1eCopy full SHA for 87b8c1e
modules/rostests/apitests/crt/setjmp.c
@@ -11,6 +11,7 @@
11
#include <pseh/pseh2.h>
12
#include <setjmp.h>
13
#include <assert.h>
14
+#include <rtlfuncs.h>
15
16
static jmp_buf g_jmp_buf;
17
@@ -58,7 +59,7 @@ static void TEST_setjmp_normal(void)
58
59
case 3:
60
ok_int(value, 333);
61
#ifdef _M_AMD64 // This is broken on Windows 2003 x64
- if (_winver >= _WIN32_WINNT_VISTA)
62
+ if (NtCurrentPeb()->OSMajorVersion >= 6)
63
#endif
64
{
65
ok_int(finally_called, TRUE);
0 commit comments