summaryrefslogtreecommitdiff
path: root/ext/curl/interface.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-07 11:05:07 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-07 11:05:07 +0200
commitd1ac7e3ab1bf3cf639ddbd63ed3824e8bb9fc32f (patch)
tree9d8bd3f15db87e3fe69a31573bae1386e27d67c5 /ext/curl/interface.c
parent8e05c4449673c8fd7bf3e1d3f5ddf4689ddd0bdb (diff)
downloadphp-git-d1ac7e3ab1bf3cf639ddbd63ed3824e8bb9fc32f.tar.gz
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.
Diffstat (limited to 'ext/curl/interface.c')
-rw-r--r--ext/curl/interface.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index a529ef8e73..906b1c4a0b 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -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 */