From 40d444919e3f0cc54f11ad0cfec001f384ceea90 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 7 Oct 2023 12:32:12 +0300 Subject: [PATCH] [SDK] Move definition of MyInt128 into stubs.h --- sdk/include/reactos/stubs.h | 7 +++++++ sdk/tools/spec2def/spec2def.c | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk/include/reactos/stubs.h b/sdk/include/reactos/stubs.h index 5b872fbe47c..b5e1517f104 100644 --- a/sdk/include/reactos/stubs.h +++ b/sdk/include/reactos/stubs.h @@ -31,6 +31,13 @@ typedef struct _EXCEPTION_RECORD { #define EXCEPTION_WINE_STUB 0x80000100 #define EH_NONCONTINUABLE 0x01 +/* __int128 is not supported on x86, so use a custom type */ +typedef struct +{ + __int64 lower; + __int64 upper; +} MyInt128; + void __stdcall RtlRaiseException( diff --git a/sdk/tools/spec2def/spec2def.c b/sdk/tools/spec2def/spec2def.c index 2ec775cc390..2eae6bb0170 100644 --- a/sdk/tools/spec2def/spec2def.c +++ b/sdk/tools/spec2def/spec2def.c @@ -228,13 +228,6 @@ OutputHeader_stub(FILE *file) fprintf(file, "WINE_DECLARE_DEBUG_CHANNEL(relay);\n"); } - /* __int128 is not supported on x86, so use a custom type */ - fprintf(file, "\n" - "typedef struct {\n" - " __int64 lower;\n" - " __int64 upper;\n" - "} MyInt128;\n"); - fprintf(file, "\n"); }