Skip to content

Commit

Permalink
[SDK] Move definition of MyInt128 into stubs.h
Browse files Browse the repository at this point in the history
  • Loading branch information
tkreuzer committed Oct 7, 2023
1 parent de69eef commit f5aed21
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions sdk/include/reactos/stubs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
7 changes: 0 additions & 7 deletions sdk/tools/spec2def/spec2def.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit f5aed21

Please sign in to comment.