3 ?RCS: Copyright (c) 2001 Jarkko Hietaniemi
5 ?RCS: You may redistribute only under the terms of the Artistic License,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
11 ?MAKE:d_syscallproto: Hasproto i_unistd
12 ?MAKE: -pick add $@ %<
14 ?S: This variable conditionally defines the HAS_SYSCALL_PROTO symbol,
15 ?S: which indicates to the C program that the system provides
16 ?S: a prototype for the syscall() function. Otherwise, it is
17 ?S: up to the program to supply one.
20 ?C: This symbol, if defined, indicates that the system provides
21 ?C: a prototype for the syscall() function. Otherwise, it is up
22 ?C: to the program to supply one. Good guesses are
23 ?C: extern int syscall(int, ...);
24 ?C: extern int syscall(long, ...);
26 ?H:#$d_syscallproto HAS_SYSCALL_PROTO /**/
28 ?LINT:set d_syscallproto
29 : see if prototype for syscall is available
31 set d_syscallproto syscall $i_unistd unistd.h