]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/config/platform/cygwin.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / config / platform / cygwin.hpp
index 6dd7e57cfd11ad6843c1ce4e5c8f3029fbce4611..d0052d8b45f6a09934f3a620614eb3d70e658de9 100644 (file)
 #   define BOOST_HAS_STDINT_H
 #endif
 
+#include <cygwin/version.h>
+#if (CYGWIN_VERSION_API_MAJOR == 0 && CYGWIN_VERSION_API_MINOR < 231)
 /// Cygwin has 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:
 #ifndef BOOST_NO_CXX14_HDR_SHARED_MUTEX