Skip to content

Commit 3e696d1

Browse files
committed
Windows: make Buffer and ObjectWrap available to compiled extensions
Closes nodejsGH-2036
1 parent 9c70b09 commit 3e696d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/node_buffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace node {
6363
*/
6464

6565

66-
class Buffer : public ObjectWrap {
66+
class NODE_EXTERN Buffer: public ObjectWrap {
6767
public:
6868

6969
static bool HasInstance(v8::Handle<v8::Value> val);

src/node_object_wrap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
namespace node {
2929

30-
class ObjectWrap {
30+
class NODE_EXTERN ObjectWrap {
3131
public:
3232
ObjectWrap ( ) {
3333
refs_ = 0;

0 commit comments

Comments
 (0)