Oops. Didn't realize nscore.h was included in 'C' compilation as well. Wrap namespace baloney with #ifdef __cplusplus__. r=scc

This commit is contained in:
waterson%netscape.com 2000-04-27 06:50:38 +00:00
parent 76a9f47a69
commit 0fa40f9e41

View File

@ -206,9 +206,10 @@ typedef PRUint16 PRUnichar;
// !=, >, >=, and <= based on == and <. VC++ chooses to put these in
// a special namespace. We'll make it seem like they're *not* in a
// special namespace.
#ifdef __cplusplus__
namespace std { namespace rel_ops {} }
using namespace std::rel_ops;
#endif
/* VC++ is special and doesn't use naked min() and max() */
#undef NS_MIN