commit
6a3d238b7e
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ bool Converter<bool>::FromV8(Isolate* isolate, Local<Value> val, bool* out) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(OS_LINUX)
|
#if !defined(OS_LINUX) && !defined(OS_FREEBSD)
|
||||||
Local<Value> Converter<unsigned long>::ToV8(Isolate* isolate,
|
Local<Value> Converter<unsigned long>::ToV8(Isolate* isolate,
|
||||||
unsigned long val) {
|
unsigned long val) {
|
||||||
return MATE_INTEGER_NEW(isolate, val);
|
return MATE_INTEGER_NEW(isolate, val);
|
||||||
|
|
|
@ -56,7 +56,7 @@ struct Converter<bool> {
|
||||||
bool* out);
|
bool* out);
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !defined(OS_LINUX)
|
#if !defined(OS_LINUX) && !defined(OS_FREEBSD)
|
||||||
template<>
|
template<>
|
||||||
struct Converter<unsigned long> {
|
struct Converter<unsigned long> {
|
||||||
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
||||||
|
|
Loading…
Reference in a new issue