Removed one layer of indirection.

pull/15/head
Jussi Pakkanen 11 years ago
parent b4836a0a2e
commit c6755e1399
  1. 4
      environment.py

@ -195,9 +195,7 @@ int main(int argc, char **argv) {
# information. # information.
templ = '''#include<stdio.h> templ = '''#include<stdio.h>
#define TESTTYPE %s #define SDEF(num) struct foo##num { char pad[num]; %s x; };
#define SDEF(num) struct foo##num { char pad[num]; TESTTYPE x; };
#define PR(num) printf("%%d\\n", (int)sizeof(struct foo##num)) #define PR(num) printf("%%d\\n", (int)sizeof(struct foo##num))
SDEF(1) SDEF(1)
SDEF(2) SDEF(2)

Loading…
Cancel
Save