]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/config/user.hpp
update boost to pre-1.30.0
[lyx.git] / boost / boost / config / user.hpp
index 6cada009789b3da20ad640dd5972df7e4b9ec137..0c0c1e08293d9dd004b7cde078d2bdd3a0de4c09 100644 (file)
@@ -59,7 +59,7 @@
 
 // define if you want to disable threading support, even
 // when available:
-// #define BOOST_DISABLE_THREADS
+#define BOOST_DISABLE_THREADS 1
 
 // define when you want to disable Win32 specific features
 // even when available:
 #define BOOST_NO_EXCEPTIONS 1
 #define BOOST_NO_WREGEX 1
 #define BOOST_NO_WSTRING 1
-
-#ifdef BOOST_NO_EXCEPTIONS
-//
-// If there are no exceptions then we must report critical-errors
-// the only way we know how; by terminating.
-//
-//#ifdef __BORLANDC__
-// <cstdio> seems not to make stderr usable with Borland:
-#include <cstdio>
-//#endif
-#  define BOOST_NOEH_ASSERT(x)\
-if(0 == (x))\
-{\
-   std::fprintf(stderr, "Error: critical boost failure in \"%s\"", #x);\
-   std::abort();\
-}
-#else
-//
-// With exceptions then error handling is taken care of and
-// there is no need for these checks:
-//
-#  define BOOST_NOEH_ASSERT(x)
-#endif