diff options
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6021a8054..6e98b557e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -170,7 +170,7 @@ endif() | |||
| 170 | # On modern Unixes, this is typically already the case. The lone exception is | 170 | # On modern Unixes, this is typically already the case. The lone exception is |
| 171 | # glibc, which may default to 32 bits. glibc allows this to be configured | 171 | # glibc, which may default to 32 bits. glibc allows this to be configured |
| 172 | # by setting _FILE_OFFSET_BITS. | 172 | # by setting _FILE_OFFSET_BITS. |
| 173 | if(CMAKE_SYSTEM_NAME STREQUAL "Linux") | 173 | if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR MINGW) |
| 174 | add_definitions(-D_FILE_OFFSET_BITS=64) | 174 | add_definitions(-D_FILE_OFFSET_BITS=64) |
| 175 | endif() | 175 | endif() |
| 176 | 176 | ||