Dmitry V. Levin
cae1252903
Generate scno.h using only those tools that are available for cross build. This allows to use scno.h during the build of strace itself. * scno.am: New file. * scno.head: New file. * Makefile.am (EXTRA_DIST): Add it. * tests/generate_scno.c: Remove. * tests/.gitignore: Remove generate_scno. * tests/Makefile.am (check_PROGRAMS): Likewise. (CLEANFILES): Remove scno.h. (scno.h, $(scno_dependants)): Remove rules. (scno_dependants): Remove. ($(objects)): New rule. Include ../scno.am.
7 lines
185 B
Plaintext
7 lines
185 B
Plaintext
#if defined __X32_SYSCALL_BIT && defined __NR_read \
|
|
&& (__X32_SYSCALL_BIT & __NR_read) == __X32_SYSCALL_BIT
|
|
# define SYSCALL_BIT __X32_SYSCALL_BIT
|
|
#else
|
|
# define SYSCALL_BIT 0
|
|
#endif
|