1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2025-01-02 03:10:55 +00:00
This commit is contained in:
Andrei Vlad LUTAS 2024-03-27 09:15:51 +02:00
parent 37a8c94bc7
commit 4bc4636765
2 changed files with 0 additions and 13 deletions

View File

@ -105,14 +105,4 @@ typedef ND_UINT8 ND_BOOL;
#define ND_FALSE (0)
// Static assertion.
#ifdef _MSC_VER
// When used without include <assert.h>, automatically maps to _Static_assert. Using static_assert is prefered, as
// it works on both C and C++.
#define ND_STATIC_ASSERT static_assert
#else
// Reserved keyword. MSVC only recognizes this if you include <assert.h>.
#define ND_STATIC_ASSERT _Static_assert
#endif
#endif // BDDISASM_TYPES_H

View File

@ -61,9 +61,6 @@ typedef struct _SHEMU_X86_GPR_REGS
} SHEMU_X86_GPR_REGS, *PSHEMU_X86_GPR_REGS;
ND_STATIC_ASSERT(ND_MAX_GPR_REGS <= 32, "Too many General Purpose Registers defined in bddisasm! Make sure to update SHEMU_X86_GPR_REGS!");
//
// Segment register (with its hidden part).
//