* fix to sys/un.h
@ 2001-08-30 4:34 AIDA Shinra
2001-08-30 6:21 ` Christopher Faylor
2001-08-30 8:22 ` The mail `fix to sys/un.h' was wrong AIDA Shinra
0 siblings, 2 replies; 3+ messages in thread
From: AIDA Shinra @ 2001-08-30 4:34 UTC (permalink / raw)
To: cygwin
--- 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
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fix to sys/un.h
2001-08-30 4:34 fix to sys/un.h AIDA Shinra
@ 2001-08-30 6:21 ` Christopher Faylor
2001-08-30 8:22 ` The mail `fix to sys/un.h' was wrong AIDA Shinra
1 sibling, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2001-08-30 6:21 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* The mail `fix to sys/un.h' was wrong
2001-08-30 4:34 fix to sys/un.h AIDA Shinra
2001-08-30 6:21 ` Christopher Faylor
@ 2001-08-30 8:22 ` AIDA Shinra
1 sibling, 0 replies; 3+ messages in thread
From: AIDA Shinra @ 2001-08-30 8:22 UTC (permalink / raw)
To: cygwin
As Christopher Faylor sais, such a way is very wrong.
Additionally, I found it is not a matter of pqcomm.h, but X header.
I am very sorry to sending such a silly mail.
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-08-30 8:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-30 4:34 fix to sys/un.h AIDA Shinra
2001-08-30 6:21 ` Christopher Faylor
2001-08-30 8:22 ` The mail `fix to sys/un.h' was wrong AIDA Shinra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).