Poison assert()
This commit is contained in:
parent
f705d707b6
commit
19c535ef02
3
common.h
3
common.h
@ -16,4 +16,7 @@
|
|||||||
#define unlikely(x) __builtin_expect(!!(x), 0)
|
#define unlikely(x) __builtin_expect(!!(x), 0)
|
||||||
#define UNUSED(x) (void)(x)
|
#define UNUSED(x) (void)(x)
|
||||||
|
|
||||||
|
/* Poison assert */
|
||||||
|
#pragma GCC poison assert
|
||||||
|
|
||||||
#endif /* COMMON_H */
|
#endif /* COMMON_H */
|
||||||
|
2
emu.h
2
emu.h
@ -20,11 +20,11 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "ovni.h"
|
#include "ovni.h"
|
||||||
#include "uthash.h"
|
#include "uthash.h"
|
||||||
#include "parson.h"
|
#include "parson.h"
|
||||||
#include "heap.h"
|
#include "heap.h"
|
||||||
#include "common.h"
|
|
||||||
|
|
||||||
/* Emulated thread runtime status */
|
/* Emulated thread runtime status */
|
||||||
enum ethread_state {
|
enum ethread_state {
|
||||||
|
Loading…
Reference in New Issue
Block a user