From a9de2ac45a9bb66ee8446e4eab050448c0ae7a04 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Fri, 18 Jan 2008 14:42:20 +0000 Subject: [PATCH] add wpp_ros.diff svn path=/trunk/; revision=31866 --- reactos/tools/wpp/wpp_ros.diff | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 reactos/tools/wpp/wpp_ros.diff diff --git a/reactos/tools/wpp/wpp_ros.diff b/reactos/tools/wpp/wpp_ros.diff new file mode 100644 index 00000000000..34ea9288bed --- /dev/null +++ b/reactos/tools/wpp/wpp_ros.diff @@ -0,0 +1,20 @@ +Index: preproc.c +=================================================================== +--- preproc.c (revision 28293) ++++ preproc.c (revision 28294) +@@ -328,6 +328,15 @@ + char *tok; + char *cpy = pp_xstrdup(path); + ++ /* check for absolute windows paths */ ++ if (strchr(cpy, ':') != NULL) ++ { ++ nincludepath++; ++ includepath = pp_xrealloc(includepath, nincludepath * sizeof(*includepath)); ++ includepath[nincludepath-1] = cpy; ++ return; ++ } ++ + tok = strtok(cpy, INCLUDESEPARATOR); + while(tok) + {