about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/s390/xstatver.h
blob: 9923199e407ccd8c3c341695841bcc07802c0189 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Versions of the 'struct stat' data structure used in compatibility xstat
   functions.  */

#include <bits/wordsize.h>

#if __WORDSIZE == 64
# define _STAT_VER_KERNEL	0
# define _STAT_VER_LINUX	1
# define _MKNOD_VER_LINUX	0
#else
# define _STAT_VER_LINUX_OLD	1
# define _STAT_VER_KERNEL	1
# define _STAT_VER_SVR4		2
# define _STAT_VER_LINUX	3
# define _MKNOD_VER_LINUX	1
# define _MKNOD_VER_SVR4	2
#endif
#define _STAT_VER		_STAT_VER_LINUX
#define _MKNOD_VER		_MKNOD_VER_LINUX