aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/pp.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-09-12 17:10:35 +0200
committerlemon <lsof@mailbox.org>2025-09-12 17:10:35 +0200
commit89710916cfa82f50be0092347744a5e06a3b5420 (patch)
tree02cff596fad2f6b4ea577ad35bc77d53dcb4a413 /test/pp.h
parentc8af181799015ea39b8868ef5d07b10ed255e799 (diff)
c: function-local static vars
Diffstat (limited to 'test/pp.h')
-rw-r--r--test/pp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pp.h b/test/pp.h
index 5ac7aac..029c6ee 100644
--- a/test/pp.h
+++ b/test/pp.h
@@ -16,6 +16,9 @@ void hi(int x) {
#define ADD(a,b) (a)+(b)
#define STR(h) #h
+#define xstr(s1) str(s1)
+#define str(s) #s
+
#endif
extern int printf(const char *, ...);