aboutsummaryrefslogtreecommitdiff
path: root/cutl/details/boost/config/select_stdlib_config.hpp
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-10-19 08:57:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-10-19 08:57:20 +0200
commited6115361006240e3c7b02295599e4534cc55a13 (patch)
tree612f12d6c7c49421102041fceb7609db8ab8257e /cutl/details/boost/config/select_stdlib_config.hpp
parentaf8d1a0139ca105c6830f4ac7c320aca2e1c1f5e (diff)
Update internal Boost subset to 1.54.0
Diffstat (limited to 'cutl/details/boost/config/select_stdlib_config.hpp')
-rw-r--r--cutl/details/boost/config/select_stdlib_config.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cutl/details/boost/config/select_stdlib_config.hpp b/cutl/details/boost/config/select_stdlib_config.hpp
index 6b7e550..8bfdf1e 100644
--- a/cutl/details/boost/config/select_stdlib_config.hpp
+++ b/cutl/details/boost/config/select_stdlib_config.hpp
@@ -14,7 +14,11 @@
// First include <cstddef> to determine if some version of STLport is in use as the std lib
// (do not rely on this header being included since users can short-circuit this header
// if they know whose std lib they are using.)
-#include <cstddef>
+#ifdef __cplusplus
+# include <cstddef>
+#else
+# include <stddef.h>
+#endif
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
// STLPort library; this _must_ come first, otherwise since