Added -private flag for entry points that shouldn't be imported from
other dlls.
Support PRIVATE flag in .def files (based on a patch by Jon
Griffiths).
diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c
index 6e22f6b..24f5a60 100644
--- a/tools/winebuild/import.c
+++ b/tools/winebuild/import.c
@@ -341,6 +341,11 @@
/* we don't support importing non-function entry points */
goto next;
}
+ else if (!strcmp( flags, "PRIVATE" ))
+ {
+ /* function must not be imported */
+ goto next;
+ }
else
{
error( "Garbage after ordinal declaration\n" );