From 9cc3e62f9b126d1f5059ccdc4ad437200666eb3d Mon Sep 17 00:00:00 2001 From: sanketh Date: Sat, 24 Oct 2020 01:26:39 +0000 Subject: [PATCH] Bug 1663119 - Remove mingw workaround for _ftelli64/_fseeki64 r=tjr Differential Revision: https://phabricator.services.mozilla.com/D94658 --- modules/libmar/src/mar_private.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/modules/libmar/src/mar_private.h b/modules/libmar/src/mar_private.h index 986b8ae83f07..bd9d4386feab 100644 --- a/modules/libmar/src/mar_private.h +++ b/modules/libmar/src/mar_private.h @@ -57,15 +57,8 @@ static_assert(sizeof(BLOCKSIZE) < (SIGNATURE_BLOCK_OFFSET + sizeof(uint32_t)), /* Include stdio.h before redefining ftello and fseeko to avoid clobbering * the ftello() and fseeko() function declarations in MinGW's stdio.h. */ # include -# ifdef __MINGW32__ -/* Avoid MinGW's _ftelli64() and _fseeki64() implementations because they - * are unreliable. */ -# define ftello ftello64 -# define fseeko fseeko64 -# else -# define ftello _ftelli64 -# define fseeko _fseeki64 -# endif +# define ftello _ftelli64 +# define fseeko _fseeki64 #else # define _FILE_OFFSET_BITS 64 # include