@ -88,7 +88,7 @@ extern "C" {
#define __uv_warn_of(old_, new_) \
do { \
if (__uv_warn_##old_ || no_deprecation) break; \
if (__uv_warn_##old_ || node::no_deprecation) break; \
__uv_warn_##old_ = 1; \
fputs("WARNING: " #old_ " is deprecated, use " #new_ "\n", stderr); \
} \
@ -85,6 +85,8 @@
namespace node {
NODE_EXTERN extern bool no_deprecation;
NODE_EXTERN int Start(int argc, char *argv[]);
char** Init(int argc, char *argv[]);
@ -28,8 +28,6 @@
extern bool no_deprecation;
#ifdef _WIN32
// emulate snprintf() on windows, _snprintf() doesn't zero-terminate the buffer
// on overflow...