Fix #[cfg] condition for i64 on windows

This commit is contained in:
Daniel Grunwald 2015-05-29 10:26:28 +02:00
parent 73e4ce3f8b
commit 2459d8f0c8
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ int_fits_larger_int!(u32, u64);
int_fits_c_long!(i64);
// manual implementation for i64 on systems with 32-bit long
#[cfg(all(target_pointer_width="32", not(target_os="windows")))]
#[cfg(any(target_pointer_width="32", target_os="windows"))]
int_convert_u64_or_i64!(i64, ffi::PyLong_FromLongLong, ffi::PyLong_AsLongLong);
#[cfg(all(target_pointer_width="64", not(target_os="windows")))]