diff options
author | wm4 <wm4@nowhere> | 2017-11-04 17:48:30 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-11-04 17:48:30 +0100 |
commit | 75cdd13e29b7bbd8ff16f81f7b3b1043f752e71e (patch) | |
tree | f51610279d9e474fd27bc40eae616e0b5cb768d0 /player/main.c | |
parent | 104e18214cdb0f95a2a9661a5cd475baa3f67a4e (diff) | |
download | mpv-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/main.c')
-rw-r--r-- | player/main.c | 3 |
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 } } |