ext/RMagick/rmutil.c in rmagick-2.16.0 vs ext/RMagick/rmutil.c in rmagick-3.0.0
- old
+ new
@@ -1443,10 +1443,11 @@
const char *tag,
const MagickOffsetType of,
const MagickSizeType sp,
void *client_data)
{
+#if !defined(_WIN32)
VALUE rval;
VALUE method, offset, span;
tag = tag; // defeat gcc message
@@ -1466,9 +1467,12 @@
RB_GC_GUARD(method);
RB_GC_GUARD(offset);
RB_GC_GUARD(span);
return RTEST(rval) ? MagickTrue : MagickFalse;
+#else
+ return MagickTrue;
+#endif
}
/**
* Remove the ImageMagick links between images in an scene sequence.