diff --git a/Quake/sys_sdl_unix.c b/Quake/sys_sdl_unix.c index fcdff11e..7c714ef6 100644 --- a/Quake/sys_sdl_unix.c +++ b/Quake/sys_sdl_unix.c @@ -152,7 +152,11 @@ void Sys_mkdir (const char *path) { int rc = mkdir (path, 0777); if (rc != 0 && errno == EEXIST) - rc = 0; + { + struct stat st; + if (stat(path, &st) == 0 && S_ISDIR(st.st_mode)) + rc = 0; + } if (rc != 0) { rc = errno; @@ -265,15 +269,3 @@ void Sys_SendKeyEvents (void) IN_SendKeyEvents(); } -void Sys_LowFPPrecision (void) -{ -} - -void Sys_HighFPPrecision (void) -{ -} - -void Sys_SetFPCW (void) -{ -} - diff --git a/Quake/sys_sdl_win.c b/Quake/sys_sdl_win.c index eb31bb14..26cf424c 100644 --- a/Quake/sys_sdl_win.c +++ b/Quake/sys_sdl_win.c @@ -153,7 +153,7 @@ void Sys_Init (void) OSVERSIONINFO vinfo; host_parms->userdir = host_parms->basedir; - /* user directories not really necessary for windows guys. + /* userdirs not really necessary for windows guys. * can be done if necessary, though... */ vinfo.dwOSVersionInfoSize = sizeof(vinfo); @@ -358,15 +358,3 @@ void Sys_SendKeyEvents (void) IN_SendKeyEvents(); } -void Sys_LowFPPrecision (void) -{ -} - -void Sys_HighFPPrecision (void) -{ -} - -void Sys_SetFPCW (void) -{ -} -