From e5d7f4e5fdc8fcb324745c39345b369ab04cadb1 Mon Sep 17 00:00:00 2001 From: Aaron Crane Date: Thu, 12 Oct 2017 14:31:56 +0200 Subject: Assume we have sane C89 memcmp() "Sane" means that it works correctly on bytes with their high bit set, as C89 also requires. We therefore no longer need to probe for and/or use BSD bcmp(). --- plan9/config.plan9 | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'plan9/config.plan9') diff --git a/plan9/config.plan9 b/plan9/config.plan9 index 8ae0aff630..8a2706766d 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -92,12 +92,6 @@ #define __attribute__(_arg_) #endif -/* HAS_BCMP: - * This symbol is defined if the bcmp() routine is available to - * compare blocks of memory. - */ -#define HAS_BCMP /**/ - /* HAS_CHOWN: * This symbol, if defined, indicates that the chown routine is * available. @@ -307,12 +301,6 @@ */ #define HAS_MBTOWC /**/ -/* HAS_MEMCMP: - * This symbol, if defined, indicates that the memcmp routine is available - * to compare blocks of memory. - */ -#define HAS_MEMCMP /**/ - /* HAS_MKDIR: * This symbol, if defined, indicates that the mkdir routine is available * to create directories. Otherwise you should fork off a new process to @@ -2115,13 +2103,6 @@ */ /*#define HAS_RECVMSG / **/ -/* HAS_SANE_MEMCMP: - * This symbol, if defined, indicates that the memcmp routine is available - * and can be used to compare relative magnitudes of chars with their high - * bits set. If it is not defined, roll your own version. - */ -#define HAS_SANE_MEMCMP /**/ - /* HAS_SBRK_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the sbrk() function. Otherwise, it is up -- cgit v1.2.1