diff libvo/vo_sdl.c @ 12019:6ede5366bc47

fix compilation with sdl on mingw patch by Nehal <nehalmistry at gmx.net>
author faust3
date Sat, 13 Mar 2004 16:25:08 +0000
parents faa111ce1315
children 210e474436d3
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Sat Mar 13 16:10:02 2004 +0000
+++ b/libvo/vo_sdl.c	Sat Mar 13 16:25:08 2004 +0000
@@ -139,8 +139,8 @@
 #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;