summaryrefslogtreecommitdiff
path: root/ext/exif/exif.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/exif/exif.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/exif/exif.c')
-rw-r--r--ext/exif/exif.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index a75b7db57a..b2852628ba 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -22,8 +22,6 @@
#include "php.h"
#include "ext/standard/file.h"
-#ifdef HAVE_EXIF
-
/* When EXIF_DEBUG is defined the module generates a lot of debug messages
* that help understanding what is going on. This can and should be used
* while extending the module as it shows if you are at the right position.
@@ -4791,5 +4789,3 @@ PHP_FUNCTION(exif_imagetype)
}
}
/* }}} */
-
-#endif