mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 17:58:44 +02:00
Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf)
This commit is contained in:
parent
07066da090
commit
2b2f3d3877
2 changed files with 9 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* $Xorg: ErrDes.c,v 1.4 2001/02/09 02:03:32 xorgcvs Exp $
|
||||
* $XdotOrg: lib/X11/src/ErrDes.c,v 1.7 2005-07-03 07:00:55 daniels Exp $
|
||||
* $XdotOrg: lib/X11/src/ErrDes.c,v 1.8 2005-08-26 05:16:46 daniels Exp $
|
||||
*/
|
||||
|
||||
/***********************************************************
|
||||
|
|
@ -60,7 +60,11 @@ SOFTWARE.
|
|||
#include <stdio.h>
|
||||
|
||||
#ifndef ERRORDB
|
||||
#ifndef XERRORDB
|
||||
#define ERRORDB "/usr/lib/X11/XErrorDB"
|
||||
#else
|
||||
#define ERRORDB XERRORDB
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -39,7 +39,11 @@ in this Software without prior written authorization from The Open Group.
|
|||
#include "Key.h"
|
||||
|
||||
#ifndef KEYSYMDB
|
||||
#ifndef XKEYSYMDB
|
||||
#define KEYSYMDB "/usr/lib/X11/XKeysymDB"
|
||||
#else
|
||||
#define KEYSYMDB XKEYSYMDB
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static Bool initialized;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue