Mercurial > mplayer.hg
comparison mplayer.c @ 31801:8187612b1af8
Fix compilation with --enable-crash-debug
author | reimar |
---|---|
date | Sat, 31 Jul 2010 16:55:57 +0000 |
parents | 55dacfca4a43 |
children | 46c25393f99d |
comparison
equal
deleted
inserted
replaced
31800:20e5447d78f9 | 31801:8187612b1af8 |
---|---|
343 static unsigned int initialized_flags=0; | 343 static unsigned int initialized_flags=0; |
344 | 344 |
345 /// step size of mixer changes | 345 /// step size of mixer changes |
346 int volstep = 3; | 346 int volstep = 3; |
347 | 347 |
348 #ifdef CONFIG_CRASH_DEBUG | |
349 static char *prog_path; | |
350 static int crash_debug = 0; | |
351 #endif | |
352 | |
348 /* This header requires all the global variable declarations. */ | 353 /* This header requires all the global variable declarations. */ |
349 #include "cfg-mplayer.h" | 354 #include "cfg-mplayer.h" |
350 | 355 |
351 | 356 |
352 #define mp_basename2(s) (strrchr(s,'/')==NULL?(char*)s:(strrchr(s,'/')+1)) | 357 #define mp_basename2(s) (strrchr(s,'/')==NULL?(char*)s:(strrchr(s,'/')+1)) |
788 #ifndef __MINGW32__ | 793 #ifndef __MINGW32__ |
789 static void child_sighandler(int x){ | 794 static void child_sighandler(int x){ |
790 pid_t pid; | 795 pid_t pid; |
791 while((pid=waitpid(-1,NULL,WNOHANG)) > 0); | 796 while((pid=waitpid(-1,NULL,WNOHANG)) > 0); |
792 } | 797 } |
793 #endif | |
794 | |
795 #ifdef CONFIG_CRASH_DEBUG | |
796 static char *prog_path; | |
797 static int crash_debug = 0; | |
798 #endif | 798 #endif |
799 | 799 |
800 static void exit_sighandler(int x){ | 800 static void exit_sighandler(int x){ |
801 static int sig_count=0; | 801 static int sig_count=0; |
802 #ifdef CONFIG_CRASH_DEBUG | 802 #ifdef CONFIG_CRASH_DEBUG |