headers: Fix declaration of POSIX ftw/nftw functions
Fix declaration of POSIX ftw() and nftw() functions to follow all
combinations of _FILE_OFFSET_BITS and _USE_32BIT_TIME_T settings.
Use __MINGW_ASM_CALL as a redirection to correct ABI symbol.
Do not declare these two functions when building the mingw-w64 runtime
itself as it is not clear which of those ftw/nftw symbol should be used.
Instead the mingw-w64 source file should call the appropriate ABI
compatible ftw[size] or nftw[size] function with corresponding ABI
compatible struct _stat[size].
Signed-off-by: Martin Storsjö <martin@martin.st>
1 file changed