From: oes Date: Fri, 21 Mar 2003 14:39:12 +0000 (+0000) Subject: Presumably fixed Bug #707467 by defining unix ifdef __unix__ X-Git-Tag: v_3_0_1~1 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=8d50b8bdf1bfd7a3db84a0ae404a2e88f9238237;p=privoxy.git Presumably fixed Bug #707467 by defining unix ifdef __unix__ --- diff --git a/acconfig.h b/acconfig.h index 04646d9b..ad5c5ede 100644 --- a/acconfig.h +++ b/acconfig.h @@ -2,7 +2,7 @@ #define CONFIG_H_INCLUDED /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/Attic/acconfig.h,v $ + * File : $Source: /cvsroot/ijbswa/current/acconfig.h,v $ * * Purpose : This file should be the first thing included in every * .c file. (Before even system headers). It contains @@ -37,6 +37,10 @@ * * Revisions : * $Log: acconfig.h,v $ + * 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. + * * Revision 1.27 2002/04/25 19:13:57 morcego * Removed RPM release number declaration on configure.in * Changed makefile to use given value for RPM_PACKAGEV when on uploading @@ -428,6 +432,13 @@ #endif /* defined(FEATURE_PTHREAD) && defined(__BEOS__) */ +/* + * On OpenBSD and maybe also FreeBSD, gcc doesn't define the cpp + * symbol unix; it defines __unix__ + */ +#if defined(__unix__) && !defined(unix) +#define unix 1 +#endif /* * It's too easy to accidentally use a Cygwin or MinGW32 version of config.h