[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] RFC: checking for socklen_t
From: |
Tom Tromey |
Subject: |
Re: [cp-patches] RFC: checking for socklen_t |
Date: |
01 Jan 2006 15:24:17 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Twisti" == Christian Thalinger <address@hidden> writes:
Twisti> And on this system socklen_t isn't defined. This macro taken from
Twisti> http://ac-archive.sourceforge.net/Miscellaneous/type_socklen_t.html
I assume we can use macros from here in Classpath.
Twisti> 2006-01-01 Christian Thalinger <address@hidden>
Twisti> * configure.ac: Added TYPE_SOCKLEN_T call.
Twisti> * m4/type_socklen_t: Added.
This is ok.
Twisti> + if test $ac_cv_type_socklen_t != yes; then
Twisti> + AC_DEFINE(socklen_t, int, [Substitute for socklen_t])
Twisti> + fi
Kind of a bogus approach (better to use a real typedef), but whatever.
Tom