From 0a79514406d13d8f47f0b9cac3e0e1c69d534a0d Mon Sep 17 00:00:00 2001 From: Jeff Raymakers Date: Sun, 23 Jun 2024 11:58:07 -0700 Subject: [PATCH] more linux iteration --- src/value_conversion.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/value_conversion.hpp b/src/value_conversion.hpp index fc627d48..96cc51bc 100644 --- a/src/value_conversion.hpp +++ b/src/value_conversion.hpp @@ -183,12 +183,12 @@ Napi::Value ValueConversion::ToJS(Napi::Env &env, double val) { return Napi::Number::New(env, val); } -#ifndef __linux__ +// #ifndef __linux__ template <> Napi::Value ValueConversion::ToJS(Napi::Env &env, size_t val) { return Napi::Number::New(env, val); } -#endif +// #endif template <> Napi::Value ValueConversion::ToJS(Napi::Env &env, int8_t val) { @@ -390,12 +390,12 @@ idx_t ValueConversion::FromJS(const Napi::CallbackInfo &info, idx_t offset) { return GetValue(info, offset).As().Int64Value(); } -#ifndef __linux__ +// #ifndef __linux__ template <> size_t ValueConversion::FromJS(const Napi::CallbackInfo &info, idx_t offset) { return GetValue(info, offset).As().Int64Value(); } -#endif +// #endif template <> int64_t ValueConversion::FromJS(const Napi::CallbackInfo &info, idx_t offset) {