diff options
-rw-r--r-- | greeter/Login.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/greeter/Login.c b/greeter/Login.c index 252ea94..49395cd 100644 --- a/greeter/Login.c +++ b/greeter/Login.c @@ -84,18 +84,9 @@ from The Open Group. #include <X11/extensions/Xrender.h> -#ifndef DEBUG -# define XDM_ASSERT(a) /* do nothing */ -#else -# if defined(__STDC__) && __STDC_VERSION__ - 0 >= 199901L -# define XDM_ASSERT(a) if (!(a)) { \ +#define XDM_ASSERT(a) if (!(a)) { \ Debug("Assertion failed in %s() at file %s line %d\n", \ __func__, __FILE__, __LINE__); } -# else -# define XDM_ASSERT(a) if (!(a)) { \ - Debug("Assertion failed at file %s line %d\n", __FILE__, __LINE__); } -# endif -#endif static void RedrawFail (LoginWidget w); static void ResetLogin (LoginWidget w); |