summaryrefslogtreecommitdiff
path: root/src/mapi/u_macros.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-01-21 10:27:25 -0800
committerMatt Turner <mattst88@gmail.com>2013-04-15 12:04:25 -0700
commitd5e9426b9605264608e0b1204ebf818103f1f011 (patch)
tree3031ccdbd85b35529129f5cef87c8779be5f8782 /src/mapi/u_macros.h
parent3c690524e2ec0fdd6bef6d50897d6879fdb8b53b (diff)
build: Move src/mapi/mapi/* to src/mapi/
Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mapi/u_macros.h')
-rw-r--r--src/mapi/u_macros.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mapi/u_macros.h b/src/mapi/u_macros.h
new file mode 100644
index 00000000000..72345b5f156
--- /dev/null
+++ b/src/mapi/u_macros.h
@@ -0,0 +1,12 @@
+#ifndef _U_MACROS_
+#define _U_MACROS_
+
+#define _U_STRINGIFY(x) #x
+#define _U_CONCAT(x, y) x ## y
+#define _U_CONCAT_STR(x, y) #x#y
+
+#define U_STRINGIFY(x) _U_STRINGIFY(x)
+#define U_CONCAT(x, y) _U_CONCAT(x, y)
+#define U_CONCAT_STR(x, y) _U_CONCAT_STR(x, y)
+
+#endif /* _U_MACROS_ */