From c600a3e0dc539ab1a4392495930ff5a901425862 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 4 Feb 2025 17:04:33 -0500 Subject: [PATCH] add missing defines --- gen_c_library/gen_c_lib.c | 3 +++ scripts/helpers/vendor_toolchain.ps1 | 1 + 2 files changed, 4 insertions(+) diff --git a/gen_c_library/gen_c_lib.c b/gen_c_library/gen_c_lib.c index 80b1e43..83a3b6d 100644 --- a/gen_c_library/gen_c_lib.c +++ b/gen_c_library/gen_c_lib.c @@ -1,3 +1,6 @@ #define GEN_IMPLEMENTATION #define GEN_DONT_ENFORCE_GEN_TIME_GUARD +#define GEN_DEFINE_LIBRARY_CORE_CONSTANTS +#define GEN_ENFORCE_STRONG_CODE_TYPES +#define GEN_EXPOSE_BACKEND #include "gen/gen_singleheader.h" diff --git a/scripts/helpers/vendor_toolchain.ps1 b/scripts/helpers/vendor_toolchain.ps1 index d183b74..f1f1baa 100644 --- a/scripts/helpers/vendor_toolchain.ps1 +++ b/scripts/helpers/vendor_toolchain.ps1 @@ -564,6 +564,7 @@ if ( $vendor -match "msvc" ) # Check if output is a static library if ( $binary -match '\.lib$' ) { + write-host "Running archiver for $binary" $lib_args = @() $lib_args += $flag_nologo $lib_args += $flag_link_win_machine_64