unifdef __sgi

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2024-02-11 15:01:25 -08:00
parent 4322fff7e1
commit 3296d7b8d1
2 changed files with 0 additions and 7 deletions

View file

@ -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>

View file

@ -373,11 +373,7 @@ XkbGetXlibControls(Display *dpy)
unsigned int
XkbXlibControlsImplemented(void)
{
#ifdef __sgi
return XkbLC_AllControls;
#else
return XkbLC_AllControls & ~XkbLC_AllComposeControls;
#endif
}
Bool