forked from boostorg/config
Fix BOOST_NO_FENV_H on cygwin
This commit is contained in:
@@ -42,8 +42,11 @@
|
|||||||
# define BOOST_HAS_STDINT_H
|
# define BOOST_HAS_STDINT_H
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <cygwin/version.h>
|
||||||
|
#if (CYGWIN_VERSION_API_MAJOR == 0 && CYGWIN_VERSION_API_MINOR < 231)
|
||||||
/// Cygwin has no fenv.h
|
/// Cygwin has no fenv.h
|
||||||
#define BOOST_NO_FENV_H
|
#define BOOST_NO_FENV_H
|
||||||
|
#endif
|
||||||
|
|
||||||
// Cygwin has it's own <pthread.h> which breaks <shared_mutex> unless the correct compiler flags are used:
|
// Cygwin has it's own <pthread.h> which breaks <shared_mutex> unless the correct compiler flags are used:
|
||||||
#ifndef BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
#ifndef BOOST_NO_CXX14_HDR_SHARED_MUTEX
|
||||||
|
Reference in New Issue
Block a user