diff options
Diffstat (limited to 'net/openwbem/patches/patch-src_common_OW__CommonFwd.hpp')
-rw-r--r-- | net/openwbem/patches/patch-src_common_OW__CommonFwd.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/openwbem/patches/patch-src_common_OW__CommonFwd.hpp b/net/openwbem/patches/patch-src_common_OW__CommonFwd.hpp new file mode 100644 index 00000000000..2ec73590489 --- /dev/null +++ b/net/openwbem/patches/patch-src_common_OW__CommonFwd.hpp @@ -0,0 +1,25 @@ +$NetBSD: patch-src_common_OW__CommonFwd.hpp,v 1.1 2013/05/23 14:58:09 joerg Exp $ + +--- src/common/OW_CommonFwd.hpp.orig 2013-05-23 13:15:41.000000000 +0000 ++++ src/common/OW_CommonFwd.hpp +@@ -38,19 +38,7 @@ + #include "OW_ArrayFwd.hpp" + #include "OW_IntrusiveReference.hpp" + +-// Yeah I know this is forbidden by the standard, but what am I gonna do? #include <algorithm> ? I think not. +-// If it causes a problem on some compiler, just #ifdef a fix in. +-#ifdef OW_WIN32 +-namespace std +-{ +- template <typename T> struct less; +-} +-#else +-namespace std +-{ +- template <typename T> class less; +-} +-#endif ++#include <algorithm> + + namespace OW_NAMESPACE + { |