diff options
Diffstat (limited to 'stlport/systemstl/numeric')
-rw-r--r-- | stlport/systemstl/numeric | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/stlport/systemstl/numeric b/stlport/systemstl/numeric index d18328bc5363..5ea17ad0758a 100644 --- a/stlport/systemstl/numeric +++ b/stlport/systemstl/numeric @@ -32,22 +32,24 @@ #define SYSTEM_STL_NUMERIC #ifdef GCC -#include <functional> -#ifdef __MINGW32__ +# include <functional> +# ifdef __MINGW32__ # define _SYSTEM_STL_MAKE_HEADER(path,header) <path/header> # include _SYSTEM_STL_MAKE_HEADER(GXX_INCLUDE_PATH,numeric) -#else +# else # include <ext/../numeric> -#endif -#include <ext/numeric> +# endif +# include <ext/numeric> +# ifndef __GXX_EXPERIMENTAL_CXX0X__ namespace std { using __gnu_cxx::iota; } +# endif #else -#error UNSUPPORTED COMPILER +# error UNSUPPORTED COMPILER #endif #endif |