mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
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:
parent
76a9f47a69
commit
0fa40f9e41
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user