mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
use setenv in preference of putenv
This commit is contained in:
parent
2be97f868a
commit
15b346b031
@ -398,10 +398,10 @@ int main(int argc, char **argv)
|
||||
|
||||
#ifdef USE_SDL_VIDEO
|
||||
// Don't let SDL block the screensaver
|
||||
putenv("SDL_VIDEO_ALLOW_SCREENSAVER=1");
|
||||
setenv("SDL_VIDEO_ALLOW_SCREENSAVER", "1", TRUE);
|
||||
|
||||
// Make SDL pass through command-clicks and option-clicks unaltered
|
||||
putenv("SDL_HAS3BUTTONMOUSE=1");
|
||||
setenv("SDL_HAS3BUTTONMOUSE", "1", TRUE);
|
||||
#endif
|
||||
|
||||
// Initialize variables
|
||||
|
Loading…
Reference in New Issue
Block a user