summaryrefslogtreecommitdiff
path: root/test/ruby/memory_status.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/memory_status.rb')
-rw-r--r--test/ruby/memory_status.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/ruby/memory_status.rb b/test/ruby/memory_status.rb
index cd4a62c1c09..3694e619efc 100644
--- a/test/ruby/memory_status.rb
+++ b/test/ruby/memory_status.rb
@@ -22,11 +22,7 @@ module Memory
extend DL::Importer
dlload "kernel32.dll", "psapi.dll"
include DL::Win32Types
- if [nil].pack('p').bytesize == 8
- typealias "SIZE_T", "DWORD64"
- else
- typealias "SIZE_T", "DWORD32"
- end
+ typealias "SIZE_T", "size_t"
PROCESS_MEMORY_COUNTERS = struct [
"DWORD cb",