mirror of
https://github.com/reactos/reactos.git
synced 2026-07-05 23:44:24 +08:00
add wpp_ros.diff
svn path=/trunk/; revision=31866
This commit is contained in:
20
reactos/tools/wpp/wpp_ros.diff
Normal file
20
reactos/tools/wpp/wpp_ros.diff
Normal file
@@ -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)
|
||||
{
|
||||
Reference in New Issue
Block a user