From: oes Date: Thu, 27 Mar 2003 16:03:19 +0000 (+0000) Subject: Another shot at Bug #707467 X-Git-Tag: v_3_0_3~144 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=5094fb0407295fa4f2dcfa057c176e0aa64d10d3;p=privoxy.git Another shot at Bug #707467 --- diff --git a/acconfig.h b/acconfig.h index ad5c5ede..164c637a 100644 --- a/acconfig.h +++ b/acconfig.h @@ -37,6 +37,9 @@ * * Revisions : * $Log: acconfig.h,v $ + * Revision 1.27.2.2 2003/03/21 14:39:12 oes + * Presumably fixed Bug #707467 by defining unix ifdef __unix__ + * * Revision 1.27.2.1 2002/08/10 11:22:31 oes * - Add two AC_DEFINEs that indicate if the pcre*.h headers * are located in a pcre/ subdir to the include path. @@ -434,9 +437,9 @@ /* * On OpenBSD and maybe also FreeBSD, gcc doesn't define the cpp - * symbol unix; it defines __unix__ + * symbol unix; it defines __unix__ and sometimes not even that: */ -#if defined(__unix__) && !defined(unix) +#if ( defined(__unix__) || defined(__NetBSD__) ) && !defined(unix) #define unix 1 #endif