On Thu, Jul 12, 2018 at 08:46:54PM +0300, Evgeny Nikonov wrote:
> PNGCBAPI is _cdecl or __stdcall
> What's wrong?
_mingw.h contains only a definition for __cdecl, not for _cdecl.
And I guess you either didn't try __stdcall or _mingw.h is not
included.
Best regards,
Daniel
Hello everybody.
OS: Windows 7 x64 (but problem is independent from OS)
Version tcc: 0.9.26
Version libpng: 1.6.34
Summary
When I try to compile liblary from source with tcc I encounter with problem on
preprocessor step (I suspect so).
All c-files includes pngpriv.h; pngpriv.h includes png.h