浏览代码

Merged into a single if.

Brucey 2 年之前
父节点
当前提交
7ca9515b79
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      core.mod/include/config.h

+ 1 - 5
core.mod/include/config.h

@@ -285,11 +285,7 @@
 /* #undef HAVE_ACL_TAG_T */
 
 /* Define to 1 if you have the `arc4random_buf' function. */
-#ifdef __APPLE__
-#define HAVE_ARC4RANDOM_BUF 1
-#endif
-
-#if defined(__linux__) && (defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 36) || __GLIBC__ > 2))
+#if defined(__APPLE__) || (defined(__linux__) && (defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 36) || __GLIBC__ > 2)))
 #define HAVE_ARC4RANDOM_BUF 1
 #endif