Skip to content
Snippets Groups Projects
Commit c2720b22 authored by Kathleen Brade's avatar Kathleen Brade
Browse files

Bug 26514 - intermittent updater failures on Win64 (Error 19)

Avoid MinGW's _ftelli64() and _fseeki64() implementations because they
are unreliable.
parent 7d9decc7
No related merge requests found
......@@ -55,8 +55,15 @@ MOZ_STATIC_ASSERT(sizeof(BLOCKSIZE) < \
instead of the NSPR equivalents. */
#ifdef XP_WIN
#include <winsock2.h>
#ifdef __MINGW32__
/* Avoid MinGW's _ftelli64() and _fseeki64() implementations because they
* are unreliable. See bug #26514. */
#define ftello ftello64
#define fseeko fseeko64
#else
#define ftello _ftelli64
#define fseeko _fseeki64
#endif
#else
#define _FILE_OFFSET_BITS 64
#include <netinet/in.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment