Skip to content

Commit 951c89b

Browse files
committed
misc. compatibility fix
1 parent da95f38 commit 951c89b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/yamatanooroti/windows/windows-definition.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module Yamatanooroti::WindowsDefinition
2828

2929
Fiddle::SIZEOF_DWORD = Fiddle::SIZEOF_LONG
3030
Fiddle::SIZEOF_WORD = Fiddle::SIZEOF_SHORT
31+
Fiddle::SIZEOF_ULONG = Fiddle::SIZEOF_LONG if !Fiddle.const_defined?(:SIZEOF_ULONG)
3132

3233
COORD = struct [
3334
'SHORT X',

lib/yamatanooroti/windows/windows.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module Yamatanooroti::WindowsTermMixin
3232
end
3333

3434
module_function def get_pipename(title, suffix = nil)
35-
"yamatanooroti_#{self.testcase_title(title)}#{suffix ? ":#{suffix}" : ""}"
35+
"yamatanooroti_#{testcase_title(title)}#{suffix ? ":#{suffix}" : ""}"
3636
end
3737

3838
private def get_pid_from_pipe(pipehandle)

0 commit comments

Comments
 (0)