0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

player: log if NDEBUG is defined

I sure want to know whether assert()s were unexpectedly not compiled in.
This commit is contained in:
wm4 2017-11-04 17:48:30 +01:00
parent 104e18214c
commit 75cdd13e29

View File

@ -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
}
}