Index: compat/zlib/contrib/minizip/tinydir.h
==================================================================
--- compat/zlib/contrib/minizip/tinydir.h
+++ compat/zlib/contrib/minizip/tinydir.h
@@ -544,16 +544,10 @@
 	_tinydir_strcpy(file->name, filename);
 	_tinydir_strcat(file->path, filename);
 #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
 		file->path, &file->_s) == -1)
 	{

