chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7fd6c
)
base/asm-common.h: Add some general C preprocessor utilities.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 5 Nov 2016 21:28:22 +0000
(21:28 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 3 Apr 2017 08:59:53 +0000
(09:59 +0100)
base/asm-common.h
patch
|
blob
|
blame
|
history
diff --git
a/base/asm-common.h
b/base/asm-common.h
index e5e0f2f247d6aa6f6b45e2cd14b7a22a3c4c57ef..77dd6a72d0a17c2abc35be7c49e94c8f44682c2d 100644
(file)
--- a/
base/asm-common.h
+++ b/
base/asm-common.h
@@
-27,6
+27,13
@@
///--------------------------------------------------------------------------
/// General definitions.
+// Preprocessor hacks.
+#define STRINGY(x) _STRINGY(x, y)
+#define _STRINGY(x) #x
+#define GLUE(x, y) _GLUE(x, y)
+#define _GLUE(x, y) x##y
+#define _EMPTY
+
// Some useful variables.
.L$_subsec = 0