lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV Mod for linux-alpha (with glibc?)


From: tzeruch
Subject: LYNX-DEV Mod for linux-alpha (with glibc?)
Date: Thu, 3 Jul 1997 18:30:56 -0400

In WWW/Library/Implementation/HTTCP.c, there is a declaration for
sys_errlist: (Modified by adding the #ifndef LINUX/#endif)

#ifndef VM
#ifndef VMS
#ifndef NeXT
#ifndef THINK_C
#ifndef __NetBSD__
#ifndef __FreeBSD__
#ifndef BSDI
#ifndef LINUX
extern char *sys_errlist[];             /* see man perror on cernvax */
extern int sys_nerr;
#endif /* LINUX */
#endif /* BSDI */
#endif /* !__FreeBSD__ */
#endif /* !__NetBSD__ */
#endif /* !THINK_C */
#endif /* !NeXT */
#endif /* !VMS */
#endif /* !VM */

For ix86 linux this is defined in stdio.h identically, but for alpha
linux, it has const for the array and pointer, which causes the compile to
fail.  Otherwise, or with the above mod, "make linux-slang" works for
alpha identically to ix86.

Will adding the #ifndef LINUX hurt any other versions?


;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]