diff --git a/native_mate/converter.cc b/native_mate/converter.cc index 97fa455bbad..9edf940938d 100644 --- a/native_mate/converter.cc +++ b/native_mate/converter.cc @@ -32,7 +32,7 @@ bool Converter::FromV8(Isolate* isolate, Local val, bool* out) { return true; } -#if !defined(OS_LINUX) +#if !defined(OS_LINUX) && !defined(OS_FREEBSD) Local Converter::ToV8(Isolate* isolate, unsigned long val) { return MATE_INTEGER_NEW(isolate, val); diff --git a/native_mate/converter.h b/native_mate/converter.h index 07c01d6529a..b0321c19a8b 100644 --- a/native_mate/converter.h +++ b/native_mate/converter.h @@ -56,7 +56,7 @@ struct Converter { bool* out); }; -#if !defined(OS_LINUX) +#if !defined(OS_LINUX) && !defined(OS_FREEBSD) template<> struct Converter { static v8::Local ToV8(v8::Isolate* isolate,