On Tue, Mar 29, 2016 at 10:58:30AM +0100, Ruediger Meier wrote: > > -#if defined (BSD) || defined (__APPLE__) > > +#if (defined (BSD) || defined (__APPLE__)) && defined (HAVE_SETPROGNAME) > > Then I would simply use only > #if defined (HAVE_SETPROGNAME) > > or, to be 105% sure to avoid any side effects on our "normal" Linux target > > #if defined (HAVE_SETPROGNAME) && ! defined __linux__ Thanks Samuel, 105% sounds good, fixed :-) Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html