mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove some unnecessary HAVE_EXTNAME guards
A recurring pattern in old extension: Putting the whole source code behind HAVE_EXTNAME. This is pointless, as the code is only compiled if the extension is enabled. This removes a couple of them, but not all.
This commit is contained in:
parent
8e05c44496
commit
d1ac7e3ab1
9 changed files with 2 additions and 48 deletions
|
@ -23,8 +23,6 @@
|
|||
#include "php.h"
|
||||
#include "Zend/zend_interfaces.h"
|
||||
|
||||
#ifdef HAVE_CURL
|
||||
|
||||
#include "php_curl.h"
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
@ -599,5 +597,3 @@ void curl_multi_register_class(const zend_function_entry *method_entries) {
|
|||
curl_multi_handlers.clone_obj = NULL;
|
||||
curl_multi_handlers.cast_object = curl_cast_object;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue