From 0224b43072c5ce42ec4f3280e6f6022a2e5380c6 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 19 Feb 2024 13:45:35 -0800 Subject: Remove ancient Amiga support There was no way to build this in the automake files Signed-off-by: Alan Coopersmith --- include/X11/xpm.h | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'include') diff --git a/include/X11/xpm.h b/include/X11/xpm.h index a490b52..32eb3b8 100644 --- a/include/X11/xpm.h +++ b/include/X11/xpm.h @@ -37,11 +37,6 @@ * HeDu (hedu@cul-ipn.uni-kiel.de) 4/94 */ -/* - * The code related to AMIGA has been added by - * Lorens Younes (d93-hyo@nada.kth.se) 4/96 - */ - #ifndef XPM_h #define XPM_h @@ -70,13 +65,9 @@ # include "simx.h" /* defines some X stuff using MSW types */ #define NEED_STRCASECMP /* at least for MSVC++ */ #else /* FOR_MSW */ -# ifdef AMIGA -# include "amigax.h" -# else /* not AMIGA */ -# include -# include -# include -# endif /* not AMIGA */ +# include +# include +# include #endif /* FOR_MSW */ /* let's define Pixel if it is not done yet */ @@ -292,9 +283,8 @@ typedef struct { _XFUNCPROTOBEGIN /* FOR_MSW, all ..Pixmap.. are excluded, only the ..XImage.. are used */ -/* Same for Amiga! */ -#if !defined(FOR_MSW) && !defined(AMIGA) +#ifndef FOR_MSW FUNC(XpmCreatePixmapFromData, int, (Display *display, Drawable d, char **data, @@ -351,7 +341,7 @@ _XFUNCPROTOBEGIN XImage **image_return, XImage **shapemask_return, XpmAttributes *attributes)); -#if !defined(FOR_MSW) && !defined(AMIGA) +#ifndef FOR_MSW FUNC(XpmCreatePixmapFromBuffer, int, (Display *display, Drawable d, char *buffer, @@ -395,7 +385,7 @@ _XFUNCPROTOBEGIN FUNC(XpmWriteFileFromXpmImage, int, (const char *filename, XpmImage *image, XpmInfo *info)); -#if !defined(FOR_MSW) && !defined(AMIGA) +#ifndef FOR_MSW FUNC(XpmCreatePixmapFromXpmImage, int, (Display *display, Drawable d, XpmImage *image, @@ -414,7 +404,7 @@ _XFUNCPROTOBEGIN XImage *shapeimage, XpmImage *xpmimage, XpmAttributes *attributes)); -#if !defined(FOR_MSW) && !defined(AMIGA) +#ifndef FOR_MSW FUNC(XpmCreateXpmImageFromPixmap, int, (Display *display, Pixmap pixmap, Pixmap shapemask, -- cgit v1.2.3