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 06bb158737 #16211

Closes #20152
This commit is contained in:
Viktor Szakats 2026-01-02 02:51:12 +01:00
parent 74c4bdc244
commit d3bf8d391f
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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))