if( p_access->b_die || Connect( p_access, 0 ) )
goto error;
-#ifdef DEBUG
+#ifndef NDEBUG
case 0:
break;
/* Win32 SDL implementation doesn't support SDL_INIT_EVENTTHREAD yet */
i_flags |= SDL_INIT_EVENTTHREAD;
#endif
-#ifdef DEBUG
+#ifndef NDEBUG
/* In debug mode you may want vlc to dump a core instead of staying
* stuck */
i_flags |= SDL_INIT_NOPARACHUTE;
[o_outline_dict setObject:o_value forKey:[NSString stringWithFormat:@"%p",
[o_value pointerValue]]];
-#ifdef DEBUG
+#ifndef NDEBUG
msg_Dbg( VLCIntf, "adding item %p", [o_value pointerValue] );
#endif
return o_value;
*pp_pes = p_pes = NULL;
-#ifdef DEBUG
+#ifndef NDEBUG
memset( header, 0, 50 );
#endif
/* Win32 SDL implementation doesn't support SDL_INIT_EVENTTHREAD yet*/
| SDL_INIT_EVENTTHREAD
#endif
-#ifdef DEBUG
+#ifndef NDEBUG
/* In debug mode you may want vlc to dump a core instead of staying
* stuck */
| SDL_INIT_NOPARACHUTE
{
vlc_mutex_lock( &p_vout->picture_lock );
-#ifdef DEBUG
+#ifndef NDEBUG
/* Check if picture status is valid */
if( (p_pic->i_status != RESERVED_PICTURE) &&
(p_pic->i_status != RESERVED_DATED_PICTURE) &&
#endif
#ifdef HAVE_PUTENV
-# ifdef DEBUG
+# ifndef NDEBUG
/* Activate malloc checking routines to detect heap corruptions. */
putenv( (char*)"MALLOC_CHECK_=2" );
# ifdef __APPLE__