# HG changeset patch # User alex # Date 1062958547 0 # Node ID 6a96649b235fb6930e540204fb4d9bac09138eb1 # Parent c2bc178d109c01459445c50ea51ebc7ac40798ee IRIX support by Timo Kanera diff -r c2bc178d109c -r 6a96649b235f libao2/ao_sdl.c --- 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; diff -r c2bc178d109c -r 6a96649b235f libvo/vo_sdl.c --- 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 //#include -#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;