| 1 | Backport of https://github.com/nodejs/node/pull/6820 |
| 2 | |
| 3 | diff -u -r ../node-v6.2.0/src/node_config.cc ./src/node_config.cc |
| 4 | --- ../node-v6.2.0/src/node_config.cc 2016-05-17 15:53:07.000000000 -0400 |
| 5 | +++ ./src/node_config.cc 2016-05-18 16:45:34.588991777 -0400 |
| 6 | @@ -29,8 +29,8 @@ |
| 7 | void InitConfig(Local<Object> target, |
| 8 | Local<Value> unused, |
| 9 | Local<Context> context) { |
| 10 | -#ifdef NODE_HAVE_I18N_SUPPORT |
| 11 | Environment* env = Environment::GetCurrent(context); |
| 12 | +#ifdef NODE_HAVE_I18N_SUPPORT |
| 13 | |
| 14 | READONLY_BOOLEAN_PROPERTY("hasIntl"); |
| 15 | |