blob: ff0a1eb38885240d803df6d0bca4255f44064991 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
https://github.com/mkoppanen/imagick/issues/264
--- a/imagick_file.c
+++ b/imagick_file.c
@@ -160,11 +160,13 @@ static
int php_imagick_read_image_using_imagemagick(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC)
{
+#ifdef ZTS
#ifndef ZEND_ENGINE_3
#if PHP_VERSION_ID >= 50600
// This suppresses an 'unused parameter' warning.
(void)tsrm_ls;
#endif
+#endif
#endif
if (type == ImagickReadImage) {
|