This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fix to sys/un.h


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]