aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-07-06 18:12:03 +0200
committerRiccardo Spagni <ric@spagni.net>2016-07-06 18:12:03 +0200
commit628f57b2120085338fa259896c80b1de4621f8dc (patch)
tree7fb0360e5c7386c8b271b2b6eb0f309d69f61053 /CMakeLists.txt
parentMerge pull request #872 (diff)
parentremove POSIX_C_SOURCE and remove dlfcn.h for static builds (diff)
downloadmonero-628f57b2120085338fa259896c80b1de4621f8dc.tar.xz
Merge pull request #873
d718960 remove POSIX_C_SOURCE and remove dlfcn.h for static builds (luigi1111)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 084c087d8..1e7806fa1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -323,7 +323,7 @@ else()
endif()
if(MINGW)
set(WARNINGS "${WARNINGS} -Wno-error=unused-value -Wno-error=unused-but-set-variable")
- set(MINGW_FLAG "${MINGW_FLAG} -DWIN32_LEAN_AND_MEAN -D_POSIX_C_SOURCE")
+ set(MINGW_FLAG "${MINGW_FLAG} -DWIN32_LEAN_AND_MEAN")
set(Boost_THREADAPI win32)
include_directories(SYSTEM src/platform/mingw)
# mingw doesn't support LTO (multiple definition errors at link time)