mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
LibC+AK: Remove our custom macros from <assert.h>
Other software might not expect these to be defined and behave differently if they _are_ defined, e.g. scummvm which checks if the TODO macro is defined and fails to build if it is.
This commit is contained in:
parent
c6ce7c9326
commit
d2662df57c
5 changed files with 6 additions and 10 deletions
|
@ -10,9 +10,7 @@
|
|||
# include <Kernel/Assertions.h>
|
||||
#else
|
||||
# include <assert.h>
|
||||
# ifndef __serenity__
|
||||
# define VERIFY assert
|
||||
# define VERIFY_NOT_REACHED() assert(false)
|
||||
# define TODO VERIFY_NOT_REACHED
|
||||
# endif
|
||||
# define VERIFY assert
|
||||
# define VERIFY_NOT_REACHED() assert(false)
|
||||
# define TODO VERIFY_NOT_REACHED
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue