Author: cwittich
Date: Fri Jan 18 17:42:20 2008
New Revision: 31866
URL:
http://svn.reactos.org/svn/reactos?rev=31866&view=rev
Log:
add wpp_ros.diff
Added:
trunk/reactos/tools/wpp/wpp_ros.diff
Added: trunk/reactos/tools/wpp/wpp_ros.diff
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wpp/wpp_ros.diff?rev…
==============================================================================
--- trunk/reactos/tools/wpp/wpp_ros.diff (added)
+++ trunk/reactos/tools/wpp/wpp_ros.diff Fri Jan 18 17:42:20 2008
@@ -1,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)
+ {