Commit b712af79 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

src: fix NODE_DEPRECATED macro with old compilers

The `__attribute__((deprecated("warning")))` macro didn't exist until
gcc 4.5 and clang 2.9.

While io.js does not build with compilers that old, add-ons do.  Let's
make src/node.h compatible with such compilers, it's a public header.

PR-URL: https://github.com/iojs/io.js/pull/1626
Refs: https://github.com/iojs/io.js/issues/1619


Reviewed-By: default avatarRod Vagg <rod@vagg.org>
Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent 71dc7152
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment