From 986e36720ebc6247fb6b8817614dbc7c72b979c1 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Mon, 6 Jun 2022 13:08:12 -0500 Subject: [PATCH] Update windows builds for raw-natives. --- CHANGELOG.md | 1 + src/core/corelib.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27700b70..ef5f9242 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ All notable changes to this project will be documented in this file. ## Unreleased - ??? +- Add `raw-native`, `native-lookup`, and `native-close` for interfacing with dynamic libraries. - Add mutexes (locks) and reader-writer locks to ev module for thread coordination. - Add `parse-all` as a generalization of the `parse` function. - Add `os/cpu-count` to get the number of available processors on a machine diff --git a/src/core/corelib.c b/src/core/corelib.c index 66331f5d..b9661c51 100644 --- a/src/core/corelib.c +++ b/src/core/corelib.c @@ -55,7 +55,6 @@ typedef int Clib; typedef HINSTANCE Clib; #define load_clib(name) LoadLibrary((name)) #define free_clib(c) FreeLibrary((c)) -#elif defined(JANET_WINDOWS) #define symbol_clib(lib, sym) GetProcAddress((lib), (sym)) static char error_clib_buf[256]; static char *error_clib(void) {