mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:41:41 +03:00
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:
parent
74c4bdc244
commit
d3bf8d391f
1 changed files with 0 additions and 9 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue