summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 15:01:25 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-20 17:05:50 -0800
commit3296d7b8d14a6c114489d40b76e8da339e11b25c (patch)
treec8375876b88bb4f749ce75b97f2971383743c41a
parent4322fff7e125c7975dc1b83c433b904c7d3384b5 (diff)
unifdef __sgi
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--include/X11/Xlibint.h3
-rw-r--r--src/xkb/XKB.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/include/X11/Xlibint.h b/include/X11/Xlibint.h
index 22705936..a5d7e897 100644
--- a/include/X11/Xlibint.h
+++ b/include/X11/Xlibint.h
@@ -340,9 +340,6 @@ typedef struct _XSQEvent
#endif
#include <X11/Xproto.h>
-#ifdef __sgi
-#define _SGI_MP_SOURCE /* turn this on to get MP safe errno */
-#endif
#include <errno.h>
#define _XBCOPYFUNC _Xbcopy
#include <X11/Xfuncs.h>
diff --git a/src/xkb/XKB.c b/src/xkb/XKB.c
index 4df82b24..0f5c7a31 100644
--- a/src/xkb/XKB.c
+++ b/src/xkb/XKB.c
@@ -373,11 +373,7 @@ XkbGetXlibControls(Display *dpy)
unsigned int
XkbXlibControlsImplemented(void)
{
-#ifdef __sgi
- return XkbLC_AllControls;
-#else
return XkbLC_AllControls & ~XkbLC_AllComposeControls;
-#endif
}
Bool