[pgpool-hackers: 305] Re: patch to solve SO_BINDTODEVICE undeclared on OS/X
Tatsuo Ishii
ishii at postgresql.org
Tue Jul 2 08:10:30 JST 2013
Usama,
Thanks. I'll take care of this.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp
> Hello
>
> I was trying to compile the pgpool-II on Mac OS/X and getting the
> compilation errors.
>
> wd_heartbeat.c: In function ‘wd_create_hb_send_socket’:
> wd_heartbeat.c:90: error: storage size of ‘i’ isn’t known
> wd_heartbeat.c:93: error: ‘SO_BINDTODEVICE’ undeclared (first use in this
> function)
>
> The reason is for platforms where SO_BINDTODEVICE is absent the related
> code is not
> properly omitted from compilation.
>
> Please find the attached patch to fix the above mentioned issue.
>
> Thanks
>
> Muhammad Usama
> EnterpriseDB Corporation
More information about the pgpool-hackers
mailing list