summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuesenliang <xuesenliang@tencent.com>2023-01-08 23:09:33 +0800
committerdormando <dormando@rydia.net>2023-03-08 10:43:32 -0800
commit23b299d99d20c410c41d7695ef692dd16ebadb97 (patch)
tree264e2e5cd607693df4bbf089931e0856d7bdf240
parent18a3092ddec1a371f3162b00f405682a414a652f (diff)
downloadmemcached-23b299d99d20c410c41d7695ef692dd16ebadb97.tar.gz
remove unnecessary HAVE_UNISTD_H check
-rw-r--r--memcached.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/memcached.h b/memcached.h
index f5d801e..9bd80b0 100644
--- a/memcached.h
+++ b/memcached.h
@@ -102,12 +102,6 @@
#define ITEM_SIZE_MAX_LOWER_LIMIT 1024
#define ITEM_SIZE_MAX_UPPER_LIMIT 1024 * 1024 * 1024
-
-/* unistd.h is here */
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
/* Slab sizing definitions. */
#define POWER_SMALLEST 1
#define POWER_LARGEST 256 /* actual cap is 255 */