Presumably fixed Bug #707467 by defining unix ifdef __unix__
[privoxy.git] / acconfig.h
index 0aeaabc..815f3f8 100644 (file)
@@ -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
  *
 
 #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