Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/pam-u2f/dist define as empty when not debugging.
details: https://anonhg.NetBSD.org/src/rev/27e3822512d4
branches: trunk
changeset: 1007867:27e3822512d4
user: christos <christos%NetBSD.org@localhost>
date: Tue Mar 03 00:20:45 2020 +0000
description:
define as empty when not debugging.
diffstat:
external/bsd/pam-u2f/dist/util.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r a90ae8e38a57 -r 27e3822512d4 external/bsd/pam-u2f/dist/util.h
--- a/external/bsd/pam-u2f/dist/util.h Tue Mar 03 00:20:20 2020 +0000
+++ b/external/bsd/pam-u2f/dist/util.h Tue Mar 03 00:20:45 2020 +0000
@@ -25,7 +25,7 @@
#if defined(DEBUG_PAM)
#define D(file, ...) _debug(file, __FILE__, __LINE__, __func__, __VA_ARGS__)
#else
-#define D(file, ...)
+#define D(file, ...) ((void)0)
#endif /* DEBUG_PAM */
typedef struct {
Home |
Main Index |
Thread Index |
Old Index