fix windows specific errno type errors.

This commit is contained in:
Jormundir 2015-02-11 19:00:42 -08:00
parent e4a74616bf
commit 64d33b1e98

View File

@ -845,13 +845,13 @@ pub enum MapError {
ErrAlreadyExists, ErrAlreadyExists,
/// Unrecognized error from `VirtualAlloc`. The inner value is the return /// Unrecognized error from `VirtualAlloc`. The inner value is the return
/// value of GetLastError. /// value of GetLastError.
ErrVirtualAlloc(uint), ErrVirtualAlloc(i32),
/// Unrecognized error from `CreateFileMapping`. The inner value is the /// Unrecognized error from `CreateFileMapping`. The inner value is the
/// return value of `GetLastError`. /// return value of `GetLastError`.
ErrCreateFileMappingW(uint), ErrCreateFileMappingW(i32),
/// Unrecognized error from `MapViewOfFile`. The inner value is the return /// Unrecognized error from `MapViewOfFile`. The inner value is the return
/// value of `GetLastError`. /// value of `GetLastError`.
ErrMapViewOfFile(uint) ErrMapViewOfFile(i32)
} }
#[stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")]