diff --git a/src/xpm/scan.c b/src/xpm/scan.c index bf94091ce1..c4ee723280 100644 --- a/src/xpm/scan.c +++ b/src/xpm/scan.c @@ -318,8 +318,10 @@ XpmCreateXpmImageFromImage(display, image, shapeimage, # endif /* AMIGA */ #else +#ifndef __VISAGECPP30__ ErrorStatus = MSWGetImagePixels(display, image, width, height, &pmap, storePixel); +#endif #endif