summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
-rw-r--r--internal.h2
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,8 @@
#include "internal/sanitizers.h"
#define numberof(array) ((int)(sizeof(array) / sizeof((array)[0])))
/* Prevent compiler from reordering access */
#define ACCESS_ONCE(type,x) (*((volatile type *)&(x)))