mirror of
https://github.com/moparisthebest/curl
synced 2024-11-05 00:55:04 -05:00
easyoptions: provide debug function when DEBUGBUILD
... not CURLDEBUG as they're not always set in conjunction.
Follow-up to 6ebe63fac2
Fixes #5877
Closes #5878
This commit is contained in:
parent
5fcad1c1c6
commit
6e18568ba3
@ -334,7 +334,7 @@ struct curl_easyoption Curl_easyopts[] = {
|
||||
{NULL, 0, 0, 0} /* end of table */
|
||||
};
|
||||
|
||||
#ifdef CURLDEBUG
|
||||
#ifdef DEBUGBUILD
|
||||
/*
|
||||
* Curl_easyopts_check() is a debug-only function that returns non-zero
|
||||
* if this source file is not in sync with the options listed in curl/curl.h
|
||||
|
@ -29,7 +29,7 @@
|
||||
/* generated table with all easy options */
|
||||
extern struct curl_easyoption Curl_easyopts[];
|
||||
|
||||
#ifdef CURLDEBUG
|
||||
#ifdef DEBUGBUILD
|
||||
int Curl_easyopts_check(void);
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user