mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:37:20 +03:00
build: drop stray ifndef guards for local/internal macros
For: - lib/vtls: `MAX_PINNED_PUBKEY_SIZE`. - src: `UNPRINTABLE_CHAR`. - tests/server/tftpd: `PKTSIZE`. Closes #20314
This commit is contained in:
parent
20900e4a1e
commit
2623e333fd
3 changed files with 0 additions and 6 deletions
|
|
@ -93,9 +93,7 @@ struct ssl_peer {
|
|||
CURLsslset Curl_init_sslset_nolock(curl_sslbackend id, const char *name,
|
||||
const curl_ssl_backend ***avail);
|
||||
|
||||
#ifndef MAX_PINNED_PUBKEY_SIZE
|
||||
#define MAX_PINNED_PUBKEY_SIZE 1048576 /* 1 MiB */
|
||||
#endif
|
||||
|
||||
curl_sslbackend Curl_ssl_backend(void);
|
||||
|
||||
|
|
|
|||
|
|
@ -59,10 +59,8 @@ extern FILE *tool_stderr;
|
|||
#define CURL_OS "unknown"
|
||||
#endif
|
||||
|
||||
#ifndef UNPRINTABLE_CHAR
|
||||
/* define what to use for unprintable characters */
|
||||
#define UNPRINTABLE_CHAR '.'
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRDUP
|
||||
#include "tool_strdup.h"
|
||||
|
|
|
|||
|
|
@ -108,9 +108,7 @@ struct tftphdr {
|
|||
* STRUCT DECLARATIONS AND DEFINES *
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef PKTSIZE
|
||||
#define PKTSIZE (SEGSIZE + 4) /* SEGSIZE defined in arpa/tftp.h */
|
||||
#endif
|
||||
|
||||
struct testcase {
|
||||
char *buffer; /* holds the file data to send to the client */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue