diff options
author | David CARLIER <devnexen@gmail.com> | 2020-10-25 12:14:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 14:14:05 +0200 |
commit | 27f4c212f377dfbe1a60fb96635ae16bc405b959 (patch) | |
tree | b5cd30a98042202301092e639105ede0156953c1 /src/config.h | |
parent | ebfa7699252b858af57cdd5388c5bd6d7439a021 (diff) | |
download | redis-27f4c212f377dfbe1a60fb96635ae16bc405b959.tar.gz |
cpu affinity: DragonFlyBSD support (#7956)
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index 320837b7e..b9c68f38b 100644 --- a/src/config.h +++ b/src/config.h @@ -253,7 +253,7 @@ int pthread_setname_np(const char *name); #endif /* Check if we can use setcpuaffinity(). */ -#if (defined __linux || defined __NetBSD__ || defined __FreeBSD__) +#if (defined __linux || defined __NetBSD__ || defined __FreeBSD__ || defined __DragonFly__) #define USE_SETCPUAFFINITY void setcpuaffinity(const char *cpulist); #endif |