generic: fix statx definition for non-x86 architecture
authorGwendal Grignou <gwendal@chromium.org>
Wed, 19 Apr 2017 23:54:53 +0000 (16:54 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 21 Apr 2017 03:14:34 +0000 (11:14 +0800)
commit796a4734629e0ee4f0072436dfafd716244aa1e5
tree71d9b0a577a4a64187697921e3ac9b6f2628058c
parent7e0b48b33d1c293eded0a94f1635773dce00e623
generic: fix statx definition for non-x86 architecture

Fix a compilation error for ARM:
__ILP32__ is defined but not __X32_SYSCALL_BIT.

The check should only apply for x86_64 architecture, statx for other
architectures is not implemented yet - see commit 7acc839c9e57
"statx: Add a system call to make enhanced file info available".

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
src/statx.h