diff options
-rw-r--r-- | nx-X11/config/cf/xorg.cf | 2 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/include/os.h | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/nx-X11/config/cf/xorg.cf b/nx-X11/config/cf/xorg.cf index 578d82af4..6f1f43018 100644 --- a/nx-X11/config/cf/xorg.cf +++ b/nx-X11/config/cf/xorg.cf @@ -594,7 +594,7 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 #ifndef XFree86ServerOSDefines # define XFree86ServerOSDefines -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR \ - -DDDXOSVERRORF + -DDDXOSVERRORF -DCLIENTIDS #endif #ifndef XFree86ConsoleDefines diff --git a/nx-X11/programs/Xserver/include/os.h b/nx-X11/programs/Xserver/include/os.h index be41e0118..920b474db 100644 --- a/nx-X11/programs/Xserver/include/os.h +++ b/nx-X11/programs/Xserver/include/os.h @@ -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 */ |