winipc 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
- #
3
- # extconf.rb for the winipc extension — Windows local IPC (named pipes,
4
- # shared memory / file mappings, and named synchronization objects).
5
-
6
- require "mkmf"
7
-
8
- unless RbConfig::CONFIG["target_os"] =~ /mswin/
9
- abort <<~MSG
10
- winipc requires a native Windows MSVC (mswin) Ruby — it binds Win32 named
11
- pipes, file-mapping shared memory, and named synchronization objects, and is
12
- built with cl.exe. Your Ruby is "#{RbConfig::CONFIG['arch']}".
13
- MSG
14
- end
15
-
16
- # kernel32 (pipes / file mappings / sync objects) is linked by default.
17
- # advapi32 provides ConvertStringSecurityDescriptorToSecurityDescriptorW for the
18
- # safe-by-default security descriptors. Pure C — no -EHsc.
19
- $libs = [$libs, "advapi32.lib"].join(" ")
20
-
21
- create_makefile("winipc/winipc")