diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-09-01 09:37:54 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-09-01 09:37:54 +0000 |
commit | 386346950a2bf9c40e2d42c4b7032e12a40acf69 (patch) | |
tree | 38aaf1138b4ffb967c76b23b4e253e83eb005315 /xen/include/xen/config.h | |
parent | b69f3742d50e9b2c101d9a57a09d94b174ab1ca2 (diff) | |
download | xen-386346950a2bf9c40e2d42c4b7032e12a40acf69.tar.gz xen-386346950a2bf9c40e2d42c4b7032e12a40acf69.tar.bz2 xen-386346950a2bf9c40e2d42c4b7032e12a40acf69.zip |
Avoid code duplication between stringified and
non-stringified asm macros, by stringifying on use
where that is needed.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/config.h')
-rw-r--r-- | xen/include/xen/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/config.h b/xen/include/xen/config.h index ca3650f80f..e59bb86a7c 100644 --- a/xen/include/xen/config.h +++ b/xen/include/xen/config.h @@ -40,4 +40,7 @@ #include <xen/compiler.h> #endif +#define __STR(...) #__VA_ARGS__ +#define STR(...) __STR(__VA_ARGS__) + #endif /* __XEN_CONFIG_H__ */ |