1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

Add __amd64__ to an ifdef set so that pppd compiles. Reactivate on amd64.

Approved by:  re (amd64 "safe" ifdefs etc)
This commit is contained in:
Peter Wemm 2003-05-12 18:51:31 +00:00
parent 8a6d52c3f8
commit ec480a9740
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114954
2 changed files with 3 additions and 3 deletions

View File

@ -74,6 +74,7 @@ SUBDIR= IPXrouted \
pciconf \
periodic \
pkg_install \
pppd \
pppstats \
procctl \
pstat \
@ -133,8 +134,7 @@ SUBDIR= IPXrouted \
zic
.if ${MACHINE_ARCH} != "amd64"
SUBDIR+=ppp \
pppd
SUBDIR+=ppp
.endif
.if !defined(NO_IPFILTER)

View File

@ -1530,7 +1530,7 @@ vfmtmsg(buf, buflen, fmt, args)
break;
case 'r':
f = va_arg(args, char *);
#ifndef __powerpc__
#if !defined(__powerpc__) && !defined(__amd64__)
n = vfmtmsg(buf, buflen + 1, f, va_arg(args, va_list));
#else
/* On the powerpc, a va_list is an array of 1 structure */