diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2018-07-11 16:26:26 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2020-07-14 15:52:40 +0200 |
commit | e90dea2537d5d3f74df6cfaee4d4aac8328e08a6 (patch) | |
tree | 00bcb429028d07bfd62299c2f032b3f771d6fe0b | |
parent | fb8f74e50aee6a0e0126600081d1bd835721cfe6 (diff) |
Less ifdef cruft.
-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); |