From f0f32767ff693ace6e1b5eb47c7955be2ae51be6 Mon Sep 17 00:00:00 2001 From: vng Date: Sat, 25 Jun 2011 21:02:10 +0300 Subject: [PATCH] Mingw compilation fixes. --- coding/internal/file64_api.hpp | 2 +- docs/mingw.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 docs/mingw.txt diff --git a/coding/internal/file64_api.hpp b/coding/internal/file64_api.hpp index 1eddd434aa..be30be87b7 100644 --- a/coding/internal/file64_api.hpp +++ b/coding/internal/file64_api.hpp @@ -15,7 +15,7 @@ typedef uint64_t _fpos64_t; #elif defined(OMIM_OS_WINDOWS_MINGW) - STATIC_ASSERT(sizeof(off64_t) == 8); + //STATIC_ASSERT(sizeof(off64_t) == 8); #define fseek64 fseeko64 #define ftell64 ftello64 diff --git a/docs/mingw.txt b/docs/mingw.txt new file mode 100644 index 0000000000..07b690ce7b --- /dev/null +++ b/docs/mingw.txt @@ -0,0 +1 @@ +!NOTE! Before running app that builded with mingw toolchain, put tools/redist/pthreadGC32.dll near with executable.