File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2683,7 +2683,7 @@ static MagickBooleanType WritePTIFImage(const ImageInfo *image_info,
2683
2683
Property ptif:min-base[x][max-levels].
2684
2684
*/
2685
2685
RectangleInfo
2686
- pyramid_geometry = { 0.0 , 0.0 , 0.0 , 0. 0 };
2686
+ pyramid_geometry = { 0 , 0 , 0 , 0 };
2687
2687
2688
2688
MagickStatusType flags =
2689
2689
ParseAbsoluteGeometry (option ,& pyramid_geometry );
Original file line number Diff line number Diff line change 18
18
#ifndef MAGICKCORE_STUDIO_H
19
19
#define MAGICKCORE_STUDIO_H
20
20
21
+ #if defined(_OPENMP ) && ((_OPENMP >= 200203 ) || defined(__OPENCC__ ))
22
+ # include <omp.h>
23
+ # define MAGICKCORE_OPENMP_SUPPORT 1
24
+ #endif
25
+
21
26
#if defined(__cplusplus ) || defined(c_plusplus )
22
27
extern "C" {
23
28
#endif
@@ -155,11 +160,6 @@ extern "C" {
155
160
# define MAGICKCORE_OPENCL_SUPPORT 1
156
161
#endif
157
162
158
- #if defined(_OPENMP ) && ((_OPENMP >= 200203 ) || defined(__OPENCC__ ))
159
- # include <omp.h>
160
- # define MAGICKCORE_OPENMP_SUPPORT 1
161
- #endif
162
-
163
163
#if defined(MAGICKCORE_HAVE_PREAD ) && defined(MAGICKCORE_HAVE_DECL_PREAD ) && !MAGICKCORE_HAVE_DECL_PREAD
164
164
ssize_t pread (int ,void * ,size_t ,off_t );
165
165
#endif
Original file line number Diff line number Diff line change 18
18
#ifndef MAGICKWAND_STUDIO_H
19
19
#define MAGICKWAND_STUDIO_H
20
20
21
+ #if defined(_OPENMP ) && ((_OPENMP >= 200203 ) || defined(__OPENCC__ ))
22
+ # include <omp.h>
23
+ # define MAGICKCORE_OPENMP_SUPPORT 1
24
+ #endif
25
+
21
26
#if defined(__cplusplus ) || defined(c_plusplus )
22
27
extern "C" {
23
28
#endif
@@ -145,11 +150,6 @@ extern "C" {
145
150
# define MAGICKCORE_OPENCL_SUPPORT 1
146
151
#endif
147
152
148
- #if defined(_OPENMP ) && ((_OPENMP >= 200203 ) || defined(__OPENCC__ ))
149
- # include <omp.h>
150
- # define MAGICKCORE_OPENMP_SUPPORT 1
151
- #endif
152
-
153
153
#if defined(MAGICKCORE_HAVE_PREAD ) && defined(MAGICKCORE_HAVE_DECL_PREAD ) && !MAGICKCORE_HAVE_DECL_PREAD
154
154
ssize_t pread (int ,void * ,size_t ,off_t );
155
155
#endif
You can’t perform that action at this time.
0 commit comments