changeset 10838:6a96649b235f

IRIX support by Timo Kanera <timo@kanera.de>
author alex
date Sun, 07 Sep 2003 18:15:47 +0000
parents c2bc178d109c
children 0f2182b3261f
files libao2/ao_sdl.c libvo/vo_sdl.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_sdl.c	Sun Sep 07 18:06:27 2003 +0000
+++ b/libao2/ao_sdl.c	Sun Sep 07 18:15:47 2003 +0000
@@ -95,8 +95,8 @@
 
 // end ring buffer stuff
 
-#if	 defined(HPUX) || defined(sun) && defined(__svr4__)
-/* setenv is missing on solaris and HPUX */
+#if defined(HPUX) || defined(sgi) || (defined(sun) && defined(__svr4__))
+/* setenv is missing on solaris, IRIX and HPUX */
 static void setenv(const char *name, const char *val, int _xx)
 {
   int len  = strlen(name) + strlen(val) + 2;
--- a/libvo/vo_sdl.c	Sun Sep 07 18:06:27 2003 +0000
+++ b/libvo/vo_sdl.c	Sun Sep 07 18:15:47 2003 +0000
@@ -141,8 +141,8 @@
 #include <SDL.h>
 //#include <SDL/SDL_syswm.h>
 
-#if	 defined(HPUX) || defined(sun) && defined(__svr4__)
-/* setenv is missing on solaris and HPUX */
+#if  defined(HPUX) || defined(sgi) || (defined(sun) && defined(__svr4__))
+/* setenv is missing on solaris, IRIX and HPUX */
 static void setenv(const char *name, const char *val, int _xx)
 {
     int len  = strlen(name) + strlen(val) + 2;