From 3a1a59f1ebcccc2e4e61706f47fe0d6da691f15b Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 16 Jul 2021 21:10:02 -0500 Subject: [PATCH] Address windows build issue. --- CHANGELOG.md | 2 +- src/core/state.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69e2cc55..8f0a85f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. ## 1.17.0 - Unreleased -- Remove JPM from the main Janet distribution. Instead, JPM must be installed +- Remove JPM from the main Janet distribution. Instead, JPM must be installed separately like any other package. - Fix issue with `ev/go` when called with an initial value and supervisor. - Add the C API functions `janet_vm_save` and `janet_vm_load` to allow diff --git a/src/core/state.h b/src/core/state.h index 0d2b6d3d..f6671bc9 100644 --- a/src/core/state.h +++ b/src/core/state.h @@ -139,7 +139,7 @@ struct JanetVM { size_t listener_cap; size_t extra_listeners; #ifdef JANET_WINDOWS - HANDLE iocp; + void **iocp; #elif defined(JANET_EV_EPOLL) JanetHandle selfpipe[2]; int epoll;