summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-03-13 16:25:08 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-03-13 16:25:08 +0000
commitb3372bc0d0b5ea0bfa4c77c41850e483e97beb16 (patch)
tree20f42a332c037dfdc41a8f9faf0294818c2d06ec /libvo
parent2aa6acd9747aec7f72ebea2addb9cdba98846d7a (diff)
downloadmpv-b3372bc0d0b5ea0bfa4c77c41850e483e97beb16.tar.bz2
mpv-b3372bc0d0b5ea0bfa4c77c41850e483e97beb16.tar.xz
fix compilation with sdl on mingw patch by Nehal <nehalmistry at gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12020 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_sdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c
index 55814bfd19..fc992d91d5 100644
--- a/libvo/vo_sdl.c
+++ b/libvo/vo_sdl.c
@@ -139,8 +139,8 @@ LIBVO_EXTERN(sdl)
#include <SDL.h>
//#include <SDL/SDL_syswm.h>
-#if defined(HPUX) || defined(sgi) || (defined(sun) && defined(__svr4__))
-/* setenv is missing on solaris, IRIX and HPUX */
+#if defined(WIN32) || defined(HPUX) || defined(sgi) || (defined(sun) && defined(__svr4__))
+/* setenv is missing on win32, solaris, IRIX and HPUX */
static void setenv(const char *name, const char *val, int _xx)
{
int len = strlen(name) + strlen(val) + 2;