add -U option
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 8 Dec 2007 08:44:13 +0000 (08:44 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sat, 8 Dec 2007 08:44:13 +0000 (08:44 +0000)
[r18647]

main.c

diff --git a/main.c b/main.c
index 1f16d01..15c6784 100644 (file)
--- a/main.c
+++ b/main.c
@@ -405,6 +405,10 @@ int main(int argc, char **argv)
                        const char *opt;
                        GET_ARG_AFTER(opt, "-D");
                        obstack_printf(&cppflags_obst, " -D%s", opt);
+               } else if(strncmp(arg, "-U", 2) == 0) {
+                       const char *opt;
+                       GET_ARG_AFTER(opt, "-U");
+                       obstack_printf(&cppflags_obst, " -U%s", opt);
                } else if(strcmp(arg, "--dump-function") == 0) {
                        ++i;
                        if(i >= argc) {