diff options
author | Greg Pearson <greg.pearson@hpe.com> | 2016-02-09 11:58:32 -0700 |
---|---|---|
committer | Greg Pearson <greg.pearson@hpe.com> | 2016-02-09 11:58:32 -0700 |
commit | 220ab76b5d1a95ffced0e48023abdea926ae6bfc (patch) | |
tree | a5f026a7099a5ab4870fd0bc3f264a40c2511196 /fuse.py | |
parent | 27d76e442d96139f9038d83d23275877fa3d3c9b (diff) | |
download | fusepy-220ab76b5d1a95ffced0e48023abdea926ae6bfc.tar.gz |
Add support for arm64 architecture
Diffstat (limited to 'fuse.py')
-rw-r--r-- | fuse.py | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -171,6 +171,23 @@ elif _system == 'Linux': ('st_atimespec', c_timespec), ('st_mtimespec', c_timespec), ('st_ctimespec', c_timespec)] + elif _machine == 'aarch64': + c_stat._fields_ = [ + ('st_dev', c_dev_t), + ('st_ino', c_ulong), + ('st_mode', c_mode_t), + ('st_nlink', c_uint), + ('st_uid', c_uid_t), + ('st_gid', c_gid_t), + ('st_rdev', c_dev_t), + ('__pad1', c_ulong), + ('st_size', c_off_t), + ('st_blksize', c_int), + ('__pad2', c_int), + ('st_blocks', c_long), + ('st_atimespec', c_timespec), + ('st_mtimespec', c_timespec), + ('st_ctimespec', c_timespec)] else: # i686, use as fallback for everything else c_stat._fields_ = [ |