summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 371cb1b..a9f50a5 100644
--- a/internal.h
+++ b/internal.h
@@ -23,6 +23,9 @@ extern "C" {
#endif
#endif
+#define LIKELY(x) RB_LIKELY(x)
+#define UNLIKELY(x) RB_UNLIKELY(x)
+
#ifndef __has_attribute
# define __has_attribute(x) 0
#endif