summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/String.hxx.in
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/String.hxx.in')
-rw-r--r--Source/kwsys/String.hxx.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/String.hxx.in b/Source/kwsys/String.hxx.in
index 543db4b..8afbb87 100644
--- a/Source/kwsys/String.hxx.in
+++ b/Source/kwsys/String.hxx.in
@@ -54,6 +54,14 @@ public:
stl_string(s, pos, n) {}
}; // End Class: String
+#if defined(__WATCOMC__)
+inline bool operator<(String const& l, String const& r)
+ {
+ return (static_cast<@KWSYS_NAMESPACE@_stl::string const&>(l) <
+ static_cast<@KWSYS_NAMESPACE@_stl::string const&>(r));
+ }
+#endif
+
} // namespace @KWSYS_NAMESPACE@
#endif