diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-08-16 23:36:38 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-08-16 23:37:08 +0900 |
| commit | f3e216f001d6fb6af75f9728930bddf3da59cccf (patch) | |
| tree | 06a2261125a736ce225f7a1c852fbece32f7439c /lib/kross/python/cxx/Config.hxx | |
| parent | cbc61659188f9036f0efb5aaf95c6bf7cb558b17 (diff) | |
| download | koffice-f3e216f001d6fb6af75f9728930bddf3da59cccf.tar.gz koffice-f3e216f001d6fb6af75f9728930bddf3da59cccf.zip | |
Switch from strstream to sstream.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7a7c17092fcdd4772fb6e499ef13429f96ac04bb)
Diffstat (limited to 'lib/kross/python/cxx/Config.hxx')
| -rw-r--r-- | lib/kross/python/cxx/Config.hxx | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/lib/kross/python/cxx/Config.hxx b/lib/kross/python/cxx/Config.hxx index 65bbc2d3b..7959c4039 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__ |
