Mercurial > mplayer.hg
comparison Gui/mplayer/psignal.h @ 2112:3997f8eec36e
BSD fixes
author | arpi |
---|---|
date | Sat, 06 Oct 2001 16:20:29 +0000 |
parents | d7920c8257e2 |
children | b1a2469e78ac |
comparison
equal
deleted
inserted
replaced
2111:7930222ba976 | 2112:3997f8eec36e |
---|---|
37 #define mplDSCodecNotFound 26 | 37 #define mplDSCodecNotFound 26 |
38 #define mplCantInitVideoDriver 27 | 38 #define mplCantInitVideoDriver 27 |
39 #define mplIncAudioBufferDelay 28 | 39 #define mplIncAudioBufferDelay 28 |
40 #define mplDecAudioBufferDelay 29 | 40 #define mplDecAudioBufferDelay 29 |
41 | 41 |
42 #ifndef SIGTYPE | |
43 #ifdef SIGUSR2 | |
44 #define SIGTYPE SIGUSR2 | |
45 #warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too? | |
46 #else | |
42 #ifdef __bsdi__ | 47 #ifdef __bsdi__ |
43 #define _NSIG NSIG | 48 #define _NSIG NSIG |
44 #endif | 49 #endif |
45 | |
46 #ifdef __SVR4 | |
47 #define SIGTYPE SIGUSR2 | |
48 #warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too? | |
49 #else | |
50 #define SIGTYPE _NSIG - 1 | 50 #define SIGTYPE _NSIG - 1 |
51 #endif | |
51 #endif | 52 #endif |
52 | 53 |
53 extern int gtkIsOk; | 54 extern int gtkIsOk; |
54 | 55 |
55 extern pid_t mplMPlayerPID; | 56 extern pid_t mplMPlayerPID; |