minor fix
This commit is contained in:
parent
79ec3c927d
commit
100283d43e
@ -32,6 +32,11 @@ if(BIICODE)
|
||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
# we'll use the default config file so we can iliminate the following macro definitions
|
||||
if(MSVC)
|
||||
# More MSVC specific compilation flags
|
||||
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
|
||||
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
|
||||
endif()
|
||||
|
||||
add_biicode_targets()
|
||||
|
||||
@ -52,6 +57,7 @@ if(WIN32)
|
||||
add_definitions(-DSTD_CODECVT_NOT_SUPPORTED)
|
||||
option(NANA_THREAD_NOT_SUPPORTED "Use this flag if MinGW version is older than 4.8.1" ON)
|
||||
if(NANA_THREAD_NOT_SUPPORTED)
|
||||
add_definitions(-DNANA_NO_CPP11) # so that deploy.hpp will compile
|
||||
add_definitions(-DSTD_THREAD_NOT_SUPPORTED)
|
||||
endif()
|
||||
endif()
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define NANA_STD_CONDITION_VARIABLE_HPP
|
||||
#include <nana/config.hpp>
|
||||
|
||||
#if NANA_NO_CPP11
|
||||
#if STD_THREAD_NOT_SUPPORTED
|
||||
|
||||
#include <boost/thread/condition_variable.hpp>
|
||||
namespace std
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define NANA_STD_MUTEX_HPP
|
||||
#include <nana/config.hpp>
|
||||
|
||||
#if NANA_NO_CPP11
|
||||
#if STD_THREAD_NOT_SUPPORTED
|
||||
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <boost/thread/recursive_mutex.hpp>
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define NANA_STD_THREAD_HPP
|
||||
#include <nana/config.hpp>
|
||||
|
||||
#if NANA_NO_CPP11
|
||||
#if STD_THREAD_NOT_SUPPORTED
|
||||
#include <boost/thread.hpp>
|
||||
namespace std
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user