mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-01-02 03:10:55 +00:00
https://github.com/bitdefender/bddisasm/issues/88 - removed (no longer needed) assert.
This commit is contained in:
parent
37a8c94bc7
commit
4bc4636765
@ -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
|
||||
|
@ -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).
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user