@ -100,8 +100,6 @@ extern "C" {
#include <node_script.h>
#include <v8_typed_array.h>
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
using namespace v8;
# ifdef __APPLE__
@ -46,6 +46,10 @@
#include <node_object_wrap.h>
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0]))
#endif
#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
#define NODE_STRINGIFY_HELPER(n) #n
@ -69,7 +69,6 @@ namespace node {
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#define THROW_BAD_ARGS \
ThrowException(Exception::TypeError(String::New("Bad argument")))
@ -83,8 +83,6 @@
# define SHUT_RDWR SD_BOTH
namespace node {