summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-05 00:39:54 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-05 00:39:54 +0000
commit2164dcdbe89856b7c24f6184ac6a73f39146f2d2 (patch)
tree68cdba1544ced2a6ceb042d36186da291cb38c8a /Gui
parentf351f3b2eb1fb3098b117c8a784a5a5361f42fcd (diff)
downloadmpv-2164dcdbe89856b7c24f6184ac6a73f39146f2d2.tar.bz2
mpv-2164dcdbe89856b7c24f6184ac6a73f39146f2d2.tar.xz
BSD/OS support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2090 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/gtk/fs.h2
-rw-r--r--Gui/mplayer/psignal.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/Gui/mplayer/gtk/fs.h b/Gui/mplayer/gtk/fs.h
index 841eceac2d..21eb043323 100644
--- a/Gui/mplayer/gtk/fs.h
+++ b/Gui/mplayer/gtk/fs.h
@@ -9,7 +9,7 @@
#include <glob.h>
#include <unistd.h>
-#ifdef __SVR4
+#if defined(__SVR4) || defined(__bsdi__)
#define get_current_dir_name() getcwd(NULL, PATH_MAX)
#endif
diff --git a/Gui/mplayer/psignal.h b/Gui/mplayer/psignal.h
index 58bd1007d5..54a492f91c 100644
--- a/Gui/mplayer/psignal.h
+++ b/Gui/mplayer/psignal.h
@@ -39,6 +39,10 @@
#define mplIncAudioBufferDelay 28
#define mplDecAudioBufferDelay 29
+#ifdef __bsdi__
+#define _NSIG NSIG
+#endif
+
#ifdef __SVR4
#define SIGTYPE SIGUSR2
#warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too?