tiff_null.c (libgd-2.2.4) | : | tiff_null.c (libgd-2.2.5) | ||
---|---|---|---|---|
#ifdef _WIN32 | ||||
#include <stdio.h> | ||||
int main() | ||||
{ | ||||
printf("skip"); | ||||
return 0; | ||||
} | ||||
#else | ||||
#include "gd.h" | #include "gd.h" | |||
int main() | int main() | |||
{ | { | |||
gdImagePtr im; | gdImagePtr im; | |||
im = gdImageCreateFromTiff(NULL); | im = gdImageCreateFromTiff(NULL); | |||
if (im != NULL) { | if (im != NULL) { | |||
gdImageDestroy(im); | gdImageDestroy(im); | |||
return 1; | return 1; | |||
} | } | |||
gdImageTiff(im, NULL); /* noop safely */ | gdImageTiff(im, NULL); /* noop safely */ | |||
return 0; | return 0; | |||
} | } | |||
#endif | ||||
End of changes. 2 change blocks. | ||||
8 lines changed or deleted | 0 lines changed or added |