]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
src: drop redundant definition of `BIT()`
authorViktor Szakats <commit@vsz.me>
Fri, 2 Jan 2026 01:51:12 +0000 (02:51 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 2 Jan 2026 09:45:12 +0000 (10:45 +0100)
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

src/tool_cfgable.h

index 89243ef2543b9edeb03ed1b0d8aa15a823055377..329691ec3bcd0b45d06bda1daafe2ccfe7f32637 100644 (file)
 #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))