Commit 71abe0be authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

enable CLIENTIDS functions in xserver

these can be used to determine the PID and name of an X11 client, e.g. in debugging.
parent 97f768a2
......@@ -594,7 +594,7 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8
#ifndef XFree86ServerOSDefines
# define XFree86ServerOSDefines -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR \
-DDDXOSVERRORF
-DDDXOSVERRORF -DCLIENTIDS
#endif
#ifndef XFree86ConsoleDefines
......
......@@ -557,4 +557,10 @@ extern int snprintf(char *str, size_t size, const char *format, ...)
extern int vsnprintf(char *str, size_t size, const char *format, va_list ap);
#endif
#ifdef DEBUG
#define DebugF ErrorF
#else
#define DebugF(...) /* */
#endif
#endif /* OS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment