44cc0b9d513a74da1c86c53099101dbdb8bbfd0a
[reactos.git] / reactos / tools / wpp / wpp_ros.diff
1 Index: preproc.c
2 ===================================================================
3 --- preproc.c (revision 28293)
4 +++ preproc.c (revision 28294)
5 @@ -328,6 +328,15 @@
6 char *tok;
7 char *cpy = pp_xstrdup(path);
8
9 + /* check for absolute windows paths */
10 + if (strchr(cpy, ':') != NULL)
11 + {
12 + nincludepath++;
13 + includepath = pp_xrealloc(includepath, nincludepath * sizeof(*includepath));
14 + includepath[nincludepath-1] = cpy;
15 + return;
16 + }
17 +
18 tok = strtok(cpy, INCLUDESEPARATOR);
19 while(tok)
20 {