mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add support for FreeBSD
This commit is contained in:
@@ -32,7 +32,7 @@ bool Converter<bool>::FromV8(Isolate* isolate, Local<Value> val, bool* out) {
|
||||
return true;
|
||||
}
|
||||
|
||||
#if !defined(OS_LINUX)
|
||||
#if !defined(OS_LINUX) && !defined(OS_FREEBSD)
|
||||
Local<Value> Converter<unsigned long>::ToV8(Isolate* isolate,
|
||||
unsigned long val) {
|
||||
return MATE_INTEGER_NEW(isolate, val);
|
||||
|
||||
@@ -56,7 +56,7 @@ struct Converter<bool> {
|
||||
bool* out);
|
||||
};
|
||||
|
||||
#if !defined(OS_LINUX)
|
||||
#if !defined(OS_LINUX) && !defined(OS_FREEBSD)
|
||||
template<>
|
||||
struct Converter<unsigned long> {
|
||||
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
||||
|
||||
Reference in New Issue
Block a user