Replace #[cfg(target_os = "win32")] with #[cfg(target_os = "windows")]

This commit is contained in:
Vadim Chugunov
2014-08-10 21:26:45 -07:00
parent 98332b1a06
commit 3dfd12967a
17 changed files with 72 additions and 37 deletions

View File

@@ -1842,7 +1842,8 @@ pub mod consts {
pub static EXE_EXTENSION: &'static str = "";
}
#[cfg(target_os = "win32")]
#[cfg(target_os = "windows")]
#[cfg(stage0, target_os = "win32")] // NOTE: Remove after snapshot
pub mod consts {
pub use os::arch_consts::ARCH;
@@ -1850,7 +1851,7 @@ pub mod consts {
/// A string describing the specific operating system in use: in this
/// case, `win32`.
pub static SYSNAME: &'static str = "win32";
pub static SYSNAME: &'static str = "windows";
/// Specifies the filename prefix used for shared libraries on this
/// platform: in this case, the empty string.