1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -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:
Daniel Stenberg 2020-08-28 15:35:23 +02:00
parent 5fcad1c1c6
commit 6e18568ba3
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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