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"); }