From d1ac7e3ab1bf3cf639ddbd63ed3824e8bb9fc32f Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 7 Sep 2020 11:05:07 +0200 Subject: 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. --- ext/exif/php_exif.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ext/exif/php_exif.h') diff --git a/ext/exif/php_exif.h b/ext/exif/php_exif.h index 466b02645f..fbc91a0f85 100644 --- a/ext/exif/php_exif.h +++ b/ext/exif/php_exif.h @@ -15,12 +15,8 @@ +----------------------------------------------------------------------+ */ -#ifdef HAVE_EXIF - #include "php_version.h" #define PHP_EXIF_VERSION PHP_VERSION extern zend_module_entry exif_module_entry; #define phpext_exif_ptr &exif_module_entry - -#endif -- cgit v1.2.1