blob: 1c1096d8f49843d9217d163bb18bb4ac593ca742 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
case RUBY_PLATFORM
when /darwin/
ok = true
when /mswin/, /mingw/
func = "GetProcessMemoryInfo(0, 0, 0)"
hdr = "psapi.h"
ok = have_func(func, hdr) || have_library("psapi", func, hdr)
end
if ok
create_makefile("-test-/memory_status")
end
|