Author: reimar Date: Sat Jul 31 18:55:57 2010 New Revision: 31878 Log: Fix compilation with --enable-crash-debug Modified: trunk/mplayer.c Modified: trunk/mplayer.c ============================================================================== --- trunk/mplayer.c Sat Jul 31 18:43:20 2010 (r31877) +++ trunk/mplayer.c Sat Jul 31 18:55:57 2010 (r31878) @@ -345,6 +345,11 @@ static unsigned int initialized_flags=0; /// step size of mixer changes int volstep = 3; +#ifdef CONFIG_CRASH_DEBUG +static char *prog_path; +static int crash_debug = 0; +#endif + /* This header requires all the global variable declarations. */ #include "cfg-mplayer.h" @@ -792,11 +797,6 @@ static void child_sighandler(int x){ } #endif -#ifdef CONFIG_CRASH_DEBUG -static char *prog_path; -static int crash_debug = 0; -#endif - static void exit_sighandler(int x){ static int sig_count=0; #ifdef CONFIG_CRASH_DEBUG
participants (1)
-
reimar