summaryrefslogtreecommitdiff
path: root/include/X11/xpm.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-19 13:45:35 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-19 13:51:26 -0800
commit0224b43072c5ce42ec4f3280e6f6022a2e5380c6 (patch)
treef418f996cd3f6644134eb33c6d546bbe4f752f67 /include/X11/xpm.h
parentb72af4edce48e40fedd441f72df0d2338fd448c5 (diff)
Remove ancient Amiga support
There was no way to build this in the automake files Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include/X11/xpm.h')
-rw-r--r--include/X11/xpm.h24
1 files changed, 7 insertions, 17 deletions
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 <X11/Xfuncproto.h>
-# include <X11/Xlib.h>
-# include <X11/Xutil.h>
-# endif /* not AMIGA */
+# include <X11/Xfuncproto.h>
+# include <X11/Xlib.h>
+# include <X11/Xutil.h>
#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,