summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/concat.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/concat.h')
-rw-r--r--cpukit/include/rtems/concat.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/cpukit/include/rtems/concat.h b/cpukit/include/rtems/concat.h
new file mode 100644
index 0000000000..02d45f21a4
--- /dev/null
+++ b/cpukit/include/rtems/concat.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2004,2005 Ralf Corsepius, Ulm, Germany.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifndef _RTEMS_CONCAT_H
+#define _RTEMS_CONCAT_H
+
+/* ANSI concatenation macros. */
+
+#define CONCAT1(a, b) CONCAT2(a, b)
+#define CONCAT2(a, b) a ## b
+
+#define EXPAND0(x) x
+#define CONCAT0(a,b) EXPAND0(a)EXPAND0(b)
+
+#endif