From: oes Date: Fri, 21 Mar 2003 14:45:23 +0000 (+0000) Subject: Presumably fixed Bug #707467 by defining unix ifdef __unix__ X-Git-Tag: v_3_1_archive_branchpoint~21 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=2d10f86ba83144e62cf362ed4d9f1aef824c0bf7 Presumably fixed Bug #707467 by defining unix ifdef __unix__ --- diff --git a/acconfig.h b/acconfig.h index 0aeaabc7..815f3f8e 100644 --- a/acconfig.h +++ b/acconfig.h @@ -37,6 +37,9 @@ * * Revisions : * $Log: acconfig.h,v $ + * Revision 1.30 2002/09/06 12:14:12 oes + * Added missing preproc symbols PCRE*_H_IN_SUBDIR + * * Revision 1.29 2002/09/04 12:03:18 oes * re-enable build on older setups * @@ -435,6 +438,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