summaryrefslogtreecommitdiff
path: root/rtl.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtl.h')
-rw-r--r--rtl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rtl.h b/rtl.h
index 82fa48a..a67396d 100644
--- a/rtl.h
+++ b/rtl.h
@@ -49,6 +49,17 @@ extern "C" {
*/
/**
+ * Macros to glue two tokens.
+ */
+#ifdef __STDC__
+#define RTL_XGLUE(a,b) a##b
+#else
+#define RTL_XGLUE(a,b) a/**/b
+#endif
+
+#define RTL_GLUE(a,b) RTL_XGLUE(a,b)
+
+/**
* The number of buckets in the global symbol table.
*/
#define RTEMS_RTL_SYMS_GLOBAL_BUCKETS (32)