Skip to content

Commit

Permalink
Merge pull request #25 from flore2003/master
Browse files Browse the repository at this point in the history
Fixed include in header of nan for npm@3
  • Loading branch information
nicolaspanel committed Dec 12, 2015
2 parents dd5c96b + 23dd3f0 commit 925cec7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
'./src/addon.cc',
'./src/node-svm/node-svm.cc'
],
"include_dirs" : [
"<!(node -e \"require('nan')\")"
],
'cflags': ['-Wall', '-O3', '-fPIC', '-c'],
"cflags_cc!": ["-fno-rtti", "-fno-exceptions"]
}
]
}
}
2 changes: 1 addition & 1 deletion src/node-svm/node-svm.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <iostream>
#include <node.h>
#include <assert.h>
#include "../../node_modules/nan/nan.h"
#include <nan.h>
#include "../libsvm/svm.h"


Expand Down

0 comments on commit 925cec7

Please sign in to comment.