summaryrefslogtreecommitdiffstats
path: root/stlport/systemstl/functional
diff options
context:
space:
mode:
Diffstat (limited to 'stlport/systemstl/functional')
-rw-r--r--stlport/systemstl/functional21
1 files changed, 12 insertions, 9 deletions
diff --git a/stlport/systemstl/functional b/stlport/systemstl/functional
index 6fb7e66330f6..232cddbef5ad 100644
--- a/stlport/systemstl/functional
+++ b/stlport/systemstl/functional
@@ -32,30 +32,33 @@
#define SYSTEM_STL_FUNCTIONAL
#ifdef GCC
-#ifdef __MINGW32__
+# ifdef __MINGW32__
# define _SYSTEM_STL_MAKE_HEADER(path,header) <path/header>
# include _SYSTEM_STL_MAKE_HEADER(GXX_INCLUDE_PATH,functional)
-#else
+# else
# include <ext/../functional>
-#endif
-#include <ext/functional>
+# endif
+# include <ext/functional>
namespace std
{
- using __gnu_cxx::select1st;
- using __gnu_cxx::select2nd;
using __gnu_cxx::project1st;
using __gnu_cxx::project2nd;
- using __gnu_cxx::unary_compose;
- using __gnu_cxx::binary_compose;
+ using __gnu_cxx::select1st;
+ using __gnu_cxx::select2nd;
using __gnu_cxx::compose1;
using __gnu_cxx::compose2;
+ using __gnu_cxx::unary_compose;
+ using __gnu_cxx::binary_compose;
+# ifndef __GXX_EXPERIMENTAL_CXX0X__
using __gnu_cxx::identity;
using __gnu_cxx::mem_fun1;
using __gnu_cxx::mem_fun1_ref;
+# endif
}
+
#else
-#error UNSUPPORTED COMPILER
+# error UNSUPPORTED COMPILER
#endif
#endif