mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix <cstddef> include, for clang 3.5 earlier with libstdc++ 20140422 or later
This commit is contained in:
parent
74f79f3717
commit
3c4a048f25
263 changed files with 311 additions and 270 deletions
|
@ -8,10 +8,17 @@
|
|||
#ifndef SPROUT_CONFIG_STDLIB_HPP
|
||||
#define SPROUT_CONFIG_STDLIB_HPP
|
||||
|
||||
// for STLport
|
||||
// !!! OLD:
|
||||
//#ifdef __cplusplus
|
||||
//# include <cstddef>
|
||||
//#else
|
||||
//# include <stddef.h>
|
||||
//#endif
|
||||
#ifdef __cplusplus
|
||||
# include <cstddef>
|
||||
# include <climits>
|
||||
#else
|
||||
# include <stddef.h>
|
||||
# include <limits.h>
|
||||
#endif
|
||||
|
||||
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue