summaryrefslogtreecommitdiff
path: root/src/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/internal.h b/src/internal.h
index 0465d81..f7d83d8 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -11,15 +11,12 @@
#include "config.h"
#include <stdint.h>
+#include <libHX/cast.h>
#include <libHX/defs.h>
#include <libHX/string.h>
#ifdef __cplusplus
/* Only for our dual C/C++ testsuites */
-# define const_cast(type, expr) const_cast<type>(expr)
-# define const_cast1(type, expr) const_cast<type>(expr)
-# define const_cast2(type, expr) const_cast<type>(expr)
-# define const_cast3(type, expr) const_cast<type>(expr)
# define dynamic_cast(type, expr) dynamic_cast<type>(expr)
# define signed_cast(type, expr) signed_cast<type>(expr)
# define reinterpret_cast(type, expr) reinterpret_cast<type>(expr)