File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
- refs/heads/try: dd5734d4878ac259752e4495b90012cef4990862
5
+ refs/heads/try: d0fa688f561e051c01110a0a102adf8a4236fc91
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
Original file line number Diff line number Diff line change @@ -243,6 +243,12 @@ pub mod types {
243
243
pub type ssize_t = i32 ;
244
244
}
245
245
pub mod posix01 {
246
+ use libc:: types:: os:: arch:: c95:: { c_int, c_short, c_long,
247
+ time_t} ;
248
+ use libc:: types:: os:: arch:: posix88:: { dev_t, gid_t, ino_t} ;
249
+ use libc:: types:: os:: arch:: posix88:: { mode_t, off_t} ;
250
+ use libc:: types:: os:: arch:: posix88:: { uid_t} ;
251
+
246
252
pub type nlink_t = u32 ;
247
253
pub type blksize_t = i32 ;
248
254
pub type blkcnt_t = i32 ;
@@ -443,9 +449,8 @@ pub mod types {
443
449
pub mod common {
444
450
pub mod posix01 {
445
451
use libc:: types:: os:: arch:: c95:: { c_int, c_short} ;
446
- use libc:: types:: os:: arch:: c99:: int64_t;
447
- use libc:: types:: os:: arch:: extra:: time64_t;
448
- use libc:: types:: os:: arch:: posix88:: { dev_t, gid_t, ino_t} ;
452
+ use libc:: types:: os:: arch:: extra:: { int64, time64_t} ;
453
+ use libc:: types:: os:: arch:: posix88:: { dev_t, ino_t} ;
449
454
use libc:: types:: os:: arch:: posix88:: mode_t;
450
455
451
456
// Note: this is the struct called stat64 in win32. Not stat,
@@ -458,7 +463,7 @@ pub mod types {
458
463
st_uid : c_short ,
459
464
st_gid : c_short ,
460
465
st_rdev : dev_t ,
461
- st_size : int64_t ,
466
+ st_size : int64 ,
462
467
st_atime : time64_t ,
463
468
st_mtime : time64_t ,
464
469
st_ctime : time64_t ,
@@ -539,6 +544,7 @@ pub mod types {
539
544
pub type WORD = u16 ;
540
545
541
546
pub type time64_t = i64 ;
547
+ pub type int64 = i64 ;
542
548
}
543
549
}
544
550
}
You can’t perform that action at this time.
0 commit comments