Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
d9ca6351
There was an error fetching the commit references. Please try again later.
Commit
d9ca6351
authored
6 years ago
by
Weiyi Wang
Committed by
fearlessTobi
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cmake: mingw also needs _FILE_OFFSET_BITS=64
parent
2ff2732a
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
with
1 addition
and
1 deletion
CMakeLists.txt
+
1
−
1
View file @
d9ca6351
...
...
@@ -170,7 +170,7 @@ endif()
# On modern Unixes, this is typically already the case. The lone exception is
# glibc, which may default to 32 bits. glibc allows this to be configured
# by setting _FILE_OFFSET_BITS.
if
(
CMAKE_SYSTEM_NAME STREQUAL
"Linux"
)
if
(
CMAKE_SYSTEM_NAME STREQUAL
"Linux"
OR MINGW
)
add_definitions
(
-D_FILE_OFFSET_BITS=64
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment