summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2020-05-12 21:19:12 +0100
committerDavid Carlier <devnexen@gmail.com>2020-05-12 21:21:22 +0100
commit4715ce59037d5806ede71e605f53b1addb7014ed (patch)
tree0da1a609614be57b08de27387dfc9123707fa50e /src/config.h
parentb726d64229a58e0683925c8e8f89ab6257dddfd7 (diff)
downloadredis-4715ce59037d5806ede71e605f53b1addb7014ed.tar.gz
NetBSD build update.
This platform supports CPU affinity (but not OpenBSD).
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 6025d4e96..0fcc42972 100644
--- a/src/config.h
+++ b/src/config.h
@@ -248,7 +248,7 @@ int pthread_setname_np(const char *name);
#endif
/* Check if we can use setcpuaffinity(). */
-#if (defined __linux || defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__)
+#if (defined __linux || defined __NetBSD__ || defined __FreeBSD__)
#define USE_SETCPUAFFINITY
void setcpuaffinity(const char *cpulist);
#endif