diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-09-22 12:30:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-09-22 12:30:11 (GMT) |
commit | cccb9994ce059b965d7537c824ddd63a839f8c21 (patch) | |
tree | d16c45d9907b1e3d818a2db350d543ea8baad4a5 | |
parent | 9babdebe9d5537c0026d149ca8810b9ffad51d0d (diff) | |
download | tcl-cccb9994ce059b965d7537c824ddd63a839f8c21.zip tcl-cccb9994ce059b965d7537c824ddd63a839f8c21.tar.gz tcl-cccb9994ce059b965d7537c824ddd63a839f8c21.tar.bz2 |
Fix [22ab2ae64a]: Build with minizip broken (actually, only a problem in 8.7, but let's keep tinydir.h the same in all branches)
-rw-r--r-- | compat/zlib/contrib/minizip/tinydir.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compat/zlib/contrib/minizip/tinydir.h b/compat/zlib/contrib/minizip/tinydir.h index ba20c3e..b8133ac 100644 --- a/compat/zlib/contrib/minizip/tinydir.h +++ b/compat/zlib/contrib/minizip/tinydir.h @@ -546,12 +546,6 @@ int tinydir_readfile(const tinydir_dir *dir, tinydir_file *file) #ifndef _MSC_VER #ifdef __MINGW32__ if (_tstat( -#elif (defined _BSD_SOURCE) || (defined _DEFAULT_SOURCE) \ - || ((defined _XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)) \ - || ((defined _POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L)) \ - || ((defined __APPLE__) && (defined __MACH__)) \ - || (defined BSD) - if (lstat( #else if (stat( #endif |