delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/30/09:22:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 30 Aug 2001 09:20:58 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: fix to sys/un.h
Message-ID: <20010830092058.B12325@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000501c13147$9f218e20$a3fc183d AT sugnm1 DOT kt DOT home DOT ne DOT jp>
Mime-Version: 1.0
In-Reply-To: <000501c13147$9f218e20$a3fc183d@sugnm1.kt.home.ne.jp>
User-Agent: Mutt/1.3.21i

On Thu, Aug 30, 2001 at 08:33:41PM +0900, AIDA Shinra wrote:
>--- un.h.orig Mon May 21 12:29:26 2001
>+++ un.h Thu Aug 30 20:30:42 2001
>@@ -11,6 +11,11 @@
> #ifndef _SYS_UN_H
> #define _SYS_UN_H
> 
>+/* for postgresql/libpq/pqcomm.h */
>+#ifndef HAVE_STRUCT_SOCKADDR_UN
>+#define HAVE_STRUCT_SOCKADDR_UN
>+#endif
>+
> /* POSIX requires only at least 100 bytes */
> #define UNIX_PATH_LEN   108

I don't know what bug you're trying to fix but that is definitely the wrong
way to go about it.  You don't put "HAVE_*" variables in system header files.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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