mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/curl: suppress -Wdeprecated-declarations in curl_arginfo.h
Disable the warning before including curl_arginfo.h. (Follow-up for https://github.com/php/php-src/pull/10531)
This commit is contained in:
parent
0842b13e5c
commit
2646d76abc
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,6 @@
|
|||
#include "ext/standard/file.h"
|
||||
#include "ext/standard/url.h"
|
||||
#include "curl_private.h"
|
||||
#include "curl_arginfo.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
/* don't complain about deprecated CURLOPT_* we're exposing to PHP; we
|
||||
|
@ -68,6 +67,8 @@
|
|||
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
#include "curl_arginfo.h"
|
||||
|
||||
#ifdef PHP_CURL_NEED_OPENSSL_TSL /* {{{ */
|
||||
static MUTEX_T *php_curl_openssl_tsl = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue