1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

BSD fixes

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2113 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-10-06 16:20:29 +00:00
parent 136687678e
commit 09ee1e1aca
3 changed files with 8 additions and 7 deletions

View File

@ -8,7 +8,7 @@ include bitmap/bitmap.mak
MPLAYERDIR = mplayer/
include gui.mak
INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC)
INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC) $(EXTRA_INC)
OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
-fexpensive-optimizations -fschedule-insns2 -Wall

View File

@ -9,7 +9,7 @@
#include <glob.h>
#include <unistd.h>
#if defined(__SVR4) || defined(__bsdi__)
#ifndef __linux__
#define get_current_dir_name() getcwd(NULL, PATH_MAX)
#endif

View File

@ -39,16 +39,17 @@
#define mplIncAudioBufferDelay 28
#define mplDecAudioBufferDelay 29
#ifdef __bsdi__
#define _NSIG NSIG
#endif
#ifdef __SVR4
#ifndef SIGTYPE
#ifdef SIGUSR2
#define SIGTYPE SIGUSR2
#warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too?
#else
#ifdef __bsdi__
#define _NSIG NSIG
#endif
#define SIGTYPE _NSIG - 1
#endif
#endif
extern int gtkIsOk;