This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: dllimport for gcc
Fergus Henderson writes:
> Jon Thackray <jont@harlequin.co.uk> writes:
>
> >Subject: dllimport for gcc
> >Is this going to be implemented for the win32 in beta-19? Is there
> >some other way of achieving the same effect?
>
> If `dllimport' means what I think it means, then yes, there is:
>
> #define foo (*__imp_foo)
Perhaps you mean #define foo (*_imp_foo) as presumably the C compiler
will automatically prepend the remaining _.
> See <http://www.cs.mu.oz.au/~fjh/gnu-win32/gnu-win32/how-to-build-dlls.html>.
I think you meant
<http://www.cs.mu.oz.au/~fjh/gnu-win32/how-to-build-dlls.html>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".