mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
For consistency with the newly added src/base64.h header, check that NODE_WANT_INTERNALS is defined and set in internal headers. PR-URL: https://github.com/nodejs/node/pull/6948 Refs: https://github.com/nodejs/node/pull/6910 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
19 lines
356 B
C++
19 lines
356 B
C++
#ifndef SRC_NODE_HTTP_PARSER_H_
|
|
#define SRC_NODE_HTTP_PARSER_H_
|
|
|
|
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
|
|
|
|
#include "v8.h"
|
|
|
|
#include "http_parser.h"
|
|
|
|
namespace node {
|
|
|
|
void InitHttpParser(v8::Local<v8::Object> target);
|
|
|
|
} // namespace node
|
|
|
|
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
|
|
|
|
#endif // SRC_NODE_HTTP_PARSER_H_
|