| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/systemc/files/ |
Upload File : |
--- src/sysc/utils/sc_string_view.h.orig 2019-07-11 10:13:48 UTC
+++ src/sysc/utils/sc_string_view.h
@@ -37,18 +37,18 @@
#include <sysc/kernel/sc_cmnhdr.h>
-#if SC_CPLUSPLUS >= 201402L && defined(__has_include)
-# if SC_CPLUSPLUS > 201402L && __has_include(<string_view>) /* since C++17 */
-# define SC_STRING_VIEW_NS_ std
+//#if SC_CPLUSPLUS >= 201402L && defined(__has_include)
+//# if SC_CPLUSPLUS > 201402L && __has_include(<string_view>) /* since C++17 */
+//# define SC_STRING_VIEW_NS_ std
# include <string_view>
/* available in Library Fundamentals, ISO/IEC TS 19568:2015 */
-# elif __has_include(<experimental/string_view>)
-# define SC_STRING_VIEW_NS_ std::experimental
-# include <experimental/string_view>
-# endif
-#else
+//# elif __has_include(<experimental/string_view>)
+//# define SC_STRING_VIEW_NS_ std::experimental
+//# include <experimental/string_view>
+//# endif
+//#else
// TODO: other ways to detect availability of std::(experimental::)string_view?
-#endif
+//#endif
#ifndef SC_STRING_VIEW_NS_
// fallback to (mostly compatible) implementation from Boost