summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-11-04 17:48:30 +0100
committerwm4 <wm4@nowhere>2017-11-04 17:48:30 +0100
commit75cdd13e29b7bbd8ff16f81f7b3b1043f752e71e (patch)
treef51610279d9e474fd27bc40eae616e0b5cb768d0 /player
parent104e18214cdb0f95a2a9661a5cd475baa3f67a4e (diff)
downloadmpv-75cdd13e29b7bbd8ff16f81f7b3b1043f752e71e.tar.bz2
mpv-75cdd13e29b7bbd8ff16f81f7b3b1043f752e71e.tar.xz
player: log if NDEBUG is defined
I sure want to know whether assert()s were unexpectedly not compiled in.
Diffstat (limited to 'player')
-rw-r--r--player/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/main.c b/player/main.c
index afd35d5a0d..2a3b6c62ea 100644
--- a/player/main.c
+++ b/player/main.c
@@ -149,6 +149,9 @@ void mp_print_version(struct mp_log *log, int always)
if (!always) {
mp_msg(log, MSGL_V, "Configuration: " CONFIGURATION "\n");
mp_msg(log, MSGL_V, "List of enabled features: %s\n", FULLCONFIG);
+ #ifdef NDEBUGs
+ mp_msg(log, MSGL_V, "Built with NDEBUG.\n");
+ #endif
}
}