Fix intptr_t on win64

This commit is contained in:
Vadim Chugunov 2014-08-23 00:46:36 -07:00
parent 58bb603ea7
commit 119f8b4694
1 changed files with 8 additions and 0 deletions

View File

@ -1357,8 +1357,16 @@ pub mod types {
pub mod c99 {
pub type c_longlong = i64;
pub type c_ulonglong = u64;
#[cfg(target_arch = "x86")]
pub type intptr_t = i32;
#[cfg(target_arch = "x86_64")]
pub type intptr_t = i64;
#[cfg(target_arch = "x86")]
pub type uintptr_t = u32;
#[cfg(target_arch = "x86_64")]
pub type uintptr_t = u64;
}
pub mod posix88 {