]> git.sesse.net Git - vlc/blobdiff - src/vlc.c
test code cleanup
[vlc] / src / vlc.c
index 7016849d0915ae31601f9a1e05350e210c7a1d8c..55fed1d3c6d991a7c4c9879e066ccdeb8d180480 100644 (file)
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -92,10 +92,10 @@ int main( int i_argc, const char *ppsz_argv[] )
 #endif
 
 #ifdef HAVE_PUTENV
-#   ifdef DEBUG
+#   ifndef NDEBUG
     /* Activate malloc checking routines to detect heap corruptions. */
     putenv( (char*)"MALLOC_CHECK_=2" );
-#       ifdef __APPLE
+#       ifdef __APPLE__
     putenv( (char*)"MallocErrorAbort=crash_my_baby_crash" );
 #       endif