tiny fix for irix: use putenv instead of setenv
This commit is contained in:
@@ -544,9 +544,13 @@ int main(int argc, char **argv)
|
||||
#else
|
||||
_putenv_s("SDL_VIDEODRIVER", "dummy");
|
||||
#endif
|
||||
#else
|
||||
#ifdef __sgi
|
||||
putenv("SDL_VIDEODRIVER=dummy");
|
||||
#else
|
||||
setenv("SDL_VIDEODRIVER", "dummy", 1); /* initializing the video driver can cause crashes on some systems - Campbell */
|
||||
#endif
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
/* On linux the default SDL driver dma often would not play
|
||||
* use alsa if none is set */
|
||||
|
||||
Reference in New Issue
Block a user