summaryrefslogtreecommitdiffstats
path: root/lib/kross/python/cxx/Config.hxx
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-08-16 23:36:38 +0900
committerMichele Calgaro <[email protected]>2018-08-16 23:36:38 +0900
commit7a7c17092fcdd4772fb6e499ef13429f96ac04bb (patch)
treee704b24ea9e06e2d1483130ab51bbc7b21723ad4 /lib/kross/python/cxx/Config.hxx
parentd3ca65fd8dd632a157f3199f07c6a765bd715b09 (diff)
downloadkoffice-7a7c17092fcdd4772fb6e499ef13429f96ac04bb.tar.gz
koffice-7a7c17092fcdd4772fb6e499ef13429f96ac04bb.zip
Switch from strstream to sstream.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/kross/python/cxx/Config.hxx')
-rw-r--r--lib/kross/python/cxx/Config.hxx41
1 files changed, 0 insertions, 41 deletions
diff --git a/lib/kross/python/cxx/Config.hxx b/lib/kross/python/cxx/Config.hxx
index 65bbc2d3..7959c403 100644
--- a/lib/kross/python/cxx/Config.hxx
+++ b/lib/kross/python/cxx/Config.hxx
@@ -30,45 +30,4 @@
# define random_access_iterator_parent(itemtype) std::random_access_iterator<itemtype, int>
#endif
-//
-// Which C++ standard is in use?
-//
-#if defined( _MSC_VER )
-# if _MSC_VER <= 1200
-// MSVC++ 6.0
-# define PYCXX_ISO_CPP_LIB 0
-# define STR_STREAM <strstream>
-# define TEMPLATE_TYPENAME class
-# else
-# define PYCXX_ISO_CPP_LIB 1
-# define STR_STREAM <sstream>
-# define TEMPLATE_TYPENAME typename
-# endif
-#elif defined( __GNUC__ )
-# if __GNUC__ >= 3
-# define PYCXX_ISO_CPP_LIB 1
-# define STR_STREAM <sstream>
-# define TEMPLATE_TYPENAME typename
-# else
-# define PYCXX_ISO_CPP_LIB 0
-# define STR_STREAM <strstream>
-# define TEMPLATE_TYPENAME class
-# endif
-#endif
-
-#if PYCXX_ISO_CPP_LIB
-# define STR_STREAM <sstream>
-# define OSTRSTREAM ostringstream
-# define EXPLICIT_TYPENAME typename
-# define EXPLICIT_CLASS class
-# define TEMPLATE_TYPENAME typename
-#else
-# define STR_STREAM <strstream>
-# define OSTRSTREAM ostrstream
-# define EXPLICIT_TYPENAME
-# define EXPLICIT_CLASS
-# define TEMPLATE_TYPENAME class
-#endif
-
-
#endif // __PyCXX_config_hh__