aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--environment.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/environment.py b/environment.py
index 30213a7..1fb35d0 100644
--- a/environment.py
+++ b/environment.py
@@ -195,9 +195,7 @@ int main(int argc, char **argv) {
# information.
templ = '''#include<stdio.h>
-#define TESTTYPE %s
-
-#define SDEF(num) struct foo##num { char pad[num]; TESTTYPE x; };
+#define SDEF(num) struct foo##num { char pad[num]; %s x; };
#define PR(num) printf("%%d\\n", (int)sizeof(struct foo##num))
SDEF(1)
SDEF(2)