Re: [Mingw-w64-public] [PATCH] crt: Provide __acrt_iob_func without the __imp_ prefix as well

2017-11-10 Thread JonY via Mingw-w64-public
On 11/10/2017 08:35 AM, Martin Storsjö wrote: > Object files in libmingw32 are built with _CRTBLD which means that > the _CRTIMP attribute in the declaration of __acrt_iob_func becomes > empty. This means that object files in libmingw32 refer to > __acrt_iob_func without dllimport. > > Define _CRT

[Mingw-w64-public] [PATCH] crt: Provide __acrt_iob_func without the __imp_ prefix as well

2017-11-10 Thread Martin Storsjö
Object files in libmingw32 are built with _CRTBLD which means that the _CRTIMP attribute in the declaration of __acrt_iob_func becomes empty. This means that object files in libmingw32 refer to __acrt_iob_func without dllimport. Define _CRTBLD while building acrt_iob_func.c to avoid warnings about