mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +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
|
@ -24,8 +24,6 @@
|
|||
#include "Zend/zend_interfaces.h"
|
||||
#include "Zend/zend_exceptions.h"
|
||||
|
||||
#ifdef HAVE_CURL
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -3537,5 +3535,3 @@ PHP_FUNCTION(curl_pause)
|
|||
RETURN_LONG(curl_easy_pause(ch->cp, bitmask));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
#endif /* HAVE_CURL */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue