diff --git a/mozilla/js2/src/stlcfg.h b/mozilla/js2/src/stlcfg.h index 6369140923c..8dccf346a30 100644 --- a/mozilla/js2/src/stlcfg.h +++ b/mozilla/js2/src/stlcfg.h @@ -40,8 +40,6 @@ #ifndef _WIN32 // Microsoft Visual C++ 6.0 bug: standard identifiers should be in std namespace - using std::size_t; - using std::ptrdiff_t; using std::va_list; using std::strlen; using std::strcpy; @@ -55,15 +53,12 @@ using std::vsnprintf; using std::fprintf; # define STD std -# define STATIC_CONST(type, expr) static const type expr #else # define STD // Microsoft Visual C++ 6.0 bug: these identifiers should not begin with // underscores # define snprintf _snprintf # define vsnprintf _vsnprintf - // Microsoft Visual C++ 6.0 bug: constants not supported -# define STATIC_CONST(type, expr) enum {expr} #endif using std::string;