registry: XREGISTRY_UNKNOWN needs to be defined even if XREGISTRY isn't enabled
In case XREGISTRY isn't enabled, XREGISTRY_UNKNOWN is used but it's not being available. It's now always available.
This commit is contained in:
parent
a3f7f7b60e
commit
ff5abc72fc
|
@ -12,6 +12,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#ifndef DIX_REGISTRY_H
|
||||
#define DIX_REGISTRY_H
|
||||
|
||||
/*
|
||||
* Result returned from any unsuccessful lookup
|
||||
*/
|
||||
#define XREGISTRY_UNKNOWN "<unknown>"
|
||||
|
||||
#ifdef XREGISTRY
|
||||
|
||||
#include "resource.h"
|
||||
|
@ -35,11 +40,6 @@ const char *LookupEventName(int event);
|
|||
const char *LookupErrorName(int error);
|
||||
const char *LookupResourceName(RESTYPE rtype);
|
||||
|
||||
/*
|
||||
* Result returned from any unsuccessful lookup
|
||||
*/
|
||||
#define XREGISTRY_UNKNOWN "<unknown>"
|
||||
|
||||
/*
|
||||
* Setup and teardown
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue