Displaying 1 result from an estimated 1 matches for "win32_winnt".
Did you mean:
_win32_winnt
2004 Dec 10
1
Modification for mkmf
Hi all,
I came across this page today:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog
/winprog/using_the_windows_headers.asp
Based on that, I think we need a patch for mkmf when on Windows that
sets _WIN32_WINNT automatically based on platform. This is the basic
code I''ve come up with:
require "mkmf"
require "win32ole"
require "socket"
# We need to get the exact version number and set _WIN32_WINNT
accordingly
host = Socket.gethostname
cs =
"winmgmts:{imperson...