Changelog:
- Makedep should support #include in IDL files
Rob
? mingwrap
Index: makedep.c
===================================================================
RCS file: /home/wine/wine/tools/makedep.c,v
retrieving revision 1.16
diff -u -r1.16 makedep.c
--- makedep.c 11 Apr 2003 00:38:56 -0000 1.16
+++ makedep.c 20 Jun 2003 15:19:13 -0000
@@ -295,8 +295,12 @@
char *p = buffer;
line++;
while (*p && isspace(*p)) p++;
- if (strncmp( p, "import", 6 )) continue;
- p += 6;
+ if (!strncmp( p, "import", 6 ))
+ p += 6;
+ else if (!strncmp( p, "#include", 8))
+ p += 8;
+ else
+ continue;
while (*p && isspace(*p)) p++;
if (*p != '\"') continue;
p++;