Compare commits

..

3 Commits

Author SHA1 Message Date
Rahul Padigela 5890c69d13 skip on windows 2023-06-20 15:40:28 -07:00
Rahul Padigela c8d5d8ba7b change conditional 2023-06-20 15:35:32 -07:00
Rahul Padigela 5a1afee140 skip install on windows 2023-06-20 15:25:27 -07:00
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ NAN_METHOD(PosixFadvise) {
#ifdef __APPLE__
// No equivalent on MACOSX
info.GetReturnValue().Set(0);
#elif _WIN32
// Skip on Windows
info.GetReturnValue().Set(0);
#else
Nan::HandleScope scope;