diff options
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r-- | Source/cmStandardIncludes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 5d7e613..b9e81d7 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -150,8 +150,11 @@ using ::ends; using ::flush; } // The string class is missing these operators so add them +#if !defined(cmsys_STL_STRING_NEQ_CHAR_DEFINED) +# define cmsys_STL_STRING_NO_NEQ_CHAR inline bool operator!=(std::string const& a, const char* b) { return !(a==std::string(b)); } +#endif inline bool operator==(std::string const& a, const char* b) { return (a==std::string(b)); } |