From dd7bda45750ad0b3c636e064d25de22bbbae8707 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 25 Sep 2026 06:32:25 +0900 Subject: [PATCH 1/2] Remove bccwin from the zlib OS code detection Ruby 2.3 dropped Borland C. Co-Authored-By: Claude Opus 5.5 --- ext/zlib/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/zlib/extconf.rb b/ext/zlib/extconf.rb index 2187ed1..1934cf5 100644 --- a/ext/zlib/extconf.rb +++ b/ext/zlib/extconf.rb @@ -84,7 +84,7 @@ case RUBY_PLATFORM.split('-',2)[1] when 'amigaos' then os_code = 'AMIGA' - when /mswin|mingw|bccwin/ then + when /mswin|mingw/ then # NOTE: cygwin should be regarded as Unix. os_code = 'WIN32' else From efaba285872cf3e2cdd66f2bd7071bbae9ad1672 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 25 Sep 2026 08:48:59 +0900 Subject: [PATCH 2/2] Remove AmigaOS from the zlib OS code detection AmigaOS is not a platform Ruby supports. Co-Authored-By: Claude Opus 5.5 --- ext/zlib/extconf.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/zlib/extconf.rb b/ext/zlib/extconf.rb index 1934cf5..a405317 100644 --- a/ext/zlib/extconf.rb +++ b/ext/zlib/extconf.rb @@ -82,8 +82,6 @@ Logging::message 'checking for kind of operating system... ' os_code = with_config('os-code') || case RUBY_PLATFORM.split('-',2)[1] - when 'amigaos' then - os_code = 'AMIGA' when /mswin|mingw/ then # NOTE: cygwin should be regarded as Unix. os_code = 'WIN32'