pcp
[Top] [All Lists]

Protecting AF_UNIX Code

To: PCP <pcp@xxxxxxxxxxx>
Subject: Protecting AF_UNIX Code
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon, 10 Jun 2013 16:12:26 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6
Hi All,

I see that some existing parts of pcp are using '#if !defined(IS_MINGW)' to protect against unsupported plattforms for AF_UNIX (e.g. src/libpcp_pmda/src/open.c) where I have been using '#if defined(HAVE_SYS_UN_H)' (already implemented in our autoconf stuff).

We should probably be consistent. Is there a preference?

Dave

<Prev in Thread] Current Thread [Next in Thread>