summaryrefslogtreecommitdiffstats
path: root/imagick-zts.patch
blob: 271fdf4b2e1158d159e82aa4de6c9e593bd70ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- imagick-3.1.1/imagick_class.c	2013-09-22 14:01:16.000000000 +0200
+++ imagick-3.1.1-zts/imagick_class.c	2013-09-22 14:14:29.285128053 +0200
@@ -6637,7 +6637,7 @@
 }
 
 static
-void s_add_named_strings (zval *array, const char *haystack)
+void s_add_named_strings (zval *array, const char *haystack TSRMLS_DC)
 {
 	int done = 0;
 	char *line, *last_ptr = NULL, *buffer;
@@ -6714,7 +6714,7 @@
 
     // Name of the image
 	s_add_assoc_str (return_value, "imageName", MagickGetImageFilename (intern->magick_wand), 1);
-	s_add_named_strings (return_value, identify);
+	s_add_named_strings (return_value, identify TSRMLS_CC);
 
 	// Geometry is an associative array
 	MAKE_STD_ZVAL (array);