summaryrefslogtreecommitdiff
path: root/ext/exif/php_exif.h
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/exif/php_exif.h
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/exif/php_exif.h')
-rw-r--r--ext/exif/php_exif.h4
1 files changed, 0 insertions, 4 deletions
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