diff --git a/src/lib/win32_os.rs b/src/lib/win32_os.rs index ccf4dbceefa..2ca6eae3f1b 100644 --- a/src/lib/win32_os.rs +++ b/src/lib/win32_os.rs @@ -43,7 +43,7 @@ type DWORD = u32; type HMODULE = uint; type LPTSTR = str::sbuf; -native "x86stdcall" mod kernel32 { +native "c-stack-stdcall" mod kernel32 { fn GetEnvironmentVariableA(n: str::sbuf, v: str::sbuf, nsize: uint) -> uint; fn SetEnvironmentVariableA(n: str::sbuf, v: str::sbuf) -> int;