delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/05/03/08:15:21

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <3910268A.EA8FB17D@vinschen.de>
Date: Wed, 03 May 2000 15:15:54 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Organization: Cygnus Solutions, a Red Hat Company
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: [Fwd: Strange problem trying to compile tcpd]

Corinna Vinschen wrote:
> Prentis Brooks wrote:
> > [...]
> > Ok... that is not it... percent_m.c does include <errno.h>
> [...]
> You'll have to do sth like that:
> 
> #ifdef __CYGWIN__
> #  define sys_nerr _sys_nerr
> #  define sys_errlist _sys_errlist
> #else
>    extern int sys_nerr;
>    extern char *sys_errlist[]
> #endif
> 
> Corinna

Shouldn't sys_nerr and sys_errlist be defined in stdio.h or
stdlib.h???

Corinna

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019