[COMPILER_APITEST] Sync an '#if defined(_X86_)' (#3318)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Thu, 4 Mar 2021 22:03:37 +0000 (23:03 +0100)
committerGitHub <noreply@github.com>
Thu, 4 Mar 2021 22:03:37 +0000 (23:03 +0100)
Addendum to dfccee7 (r41810).

modules/rostests/apitests/compiler/pseh.c

index 61800b1..8618437 100644 (file)
@@ -2643,7 +2643,7 @@ int call_test(int (* func)(void))
        static int ret;
        static struct volatile_context before, after;
        static LPTOP_LEVEL_EXCEPTION_FILTER prev_unhandled_exception;
-#if !defined(_PSEH3_H_) && !defined(_MSC_VER)
+#if defined(_X86_) && !defined(_PSEH3_H_) && !defined(_MSC_VER)
        static _SEH2Registration_t * prev_frame;
        _SEH2Registration_t passthrough_frame;
 #endif