[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CommonC++ 1.9.7 generated config.h bug with socklen_t handling
From: |
Paul Lew |
Subject: |
CommonC++ 1.9.7 generated config.h bug with socklen_t handling |
Date: |
Sun, 24 Mar 2002 12:49:21 -0800 |
During the solaris 2.6 build, I found out the following section is
wrong:, too many cases are not covered:
aclocal.m4:
dnl #ifndef HAVE_SOCKLEN_T
dnl #if defined(i386) && defined(__svr4__)
dnl #define HAVE_SOCKLEN_U
dnl #endif
dnl #ifdef HAVE_SOCKLEN_U
dnl #if !defined(__CYGWIN32__) && !defined(__MINGW32__)
dnl typedef unsigned socklen_t;
dnl #else
dnl typedef int socklen_t;
dnl #endif
dnl #endif
dnl #endif
One way to get it fix is (I added indentation to make it readable):
dnl #ifndef HAVE_SOCKLEN_T
dnl #if defined(i386) && defined(__svr4__)
dnl #define HAVE_SOCKLEN_U
dnl #endif
dnl #ifdef HAVE_SOCKLEN_U
dnl #if !defined(__CYGWIN32__) && !defined(__MINGW32__)
dnl typedef unsigned socklen_t;
dnl #else
dnl typedef int socklen_t;
dnl #endif
dnl #else
dnl typedef int socklen_t;
dnl #endif
dnl #endif
-- Paul 03/24/02 12:39 PM --
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CommonC++ 1.9.7 generated config.h bug with socklen_t handling,
Paul Lew <=