From: Viktor Szakats Date: Fri, 2 Jan 2026 01:51:12 +0000 (+0100) Subject: src: drop redundant definition of `BIT()` X-Git-Tag: curl-8_18_0~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3bf8d391fbd2568ac8df052c55a48b5941c17d8;p=thirdparty%2Fcurl.git src: drop redundant definition of `BIT()` It's defined in `lib/curl_setup_once.h` which is always included before the duplicate definition in `src/tool_cfgable.h`. Delete the latter. Follow-up to 06bb1587373dcc42ffbe104b214c900936acfb3c #16211 Closes #20152 --- diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h index 89243ef254..329691ec3b 100644 --- a/src/tool_cfgable.h +++ b/src/tool_cfgable.h @@ -29,15 +29,6 @@ #include "tool_urlglob.h" #include "var.h" -/* the type we use for storing a single boolean bit */ -#ifndef BIT -#ifdef _MSC_VER -#define BIT(x) bool x -#else -#define BIT(x) unsigned int x:1 -#endif -#endif - #define MAX_CONFIG_LINE_LENGTH (10 * 1024 * 1024) #define checkprefix(a, b) curl_strnequal(b, STRCONST(a))