Commit 42ca9c2 for zlib
commit 42ca9c2c9b010c8c9b278079c98bf7aadb074e69
Author: Mark Adler <git@madler.net>
Date: Tue Jan 6 12:25:30 2026 -0600
Add definition of ZLIB_INSECURE to build tests with c89 and c94.
diff --git a/.github/workflows/c-std.yml b/.github/workflows/c-std.yml
index a99cdb5..150cb91 100644
--- a/.github/workflows/c-std.yml
+++ b/.github/workflows/c-std.yml
@@ -50,12 +50,18 @@ jobs:
std:
- name: c89
value: c89
+ compiler-opt: -DZIP_INSECURE
+ cmake-opt: -DZIP_INSECURE
- name: gnu89
value: gnu89
+ compiler-opt: -DZIP_INSECURE
+ cmake-opt: -DZIP_INSECURE
- name: c94
value: iso9899:199409
+ compiler-opt: -DZIP_INSECURE
+ cmake-opt: -DZIP_INSECURE
- name: c99
value: c99