diff playtreeparser.c @ 4156:22fadd4022b5

playtree-based config patch by Alban Bedel <albeu@free.fr>
author arpi
date Mon, 14 Jan 2002 23:38:49 +0000
parents 25590564842f
children d752f99fd535
line wrap: on
line diff
--- a/playtreeparser.c	Mon Jan 14 23:06:43 2002 +0000
+++ b/playtreeparser.c	Mon Jan 14 23:38:49 2002 +0000
@@ -1,8 +1,11 @@
 
+#include "config.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#ifdef MP_DEBUG
 #include <assert.h>
+#endif
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -240,7 +243,7 @@
 parse_playtree(stream_t *stream) {
   play_tree_t* tree = NULL;
   
-#ifdef DEBUG
+#ifdef MP_DEBUG
   assert(stream != NULL);
   assert(stream->type == STREAMTYPE_PLAYLIST);
 #endif