[iortcw] 271/497: All: Set float rounding mode on non-Windows platforms

Simon McVittie smcv at debian.org
Fri Sep 8 10:37:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 5f92af211e5ef30ed8f455d38fc52709208389a1
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Tue Jan 13 18:42:24 2015 +0000

    All: Set float rounding mode on non-Windows platforms
---
 MP/code/sys/sys_unix.c | 2 ++
 SP/code/sys/sys_unix.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/MP/code/sys/sys_unix.c b/MP/code/sys/sys_unix.c
index e296ca6..757af77 100644
--- a/MP/code/sys/sys_unix.c
+++ b/MP/code/sys/sys_unix.c
@@ -814,6 +814,8 @@ void Sys_PlatformInit( void )
 	signal( SIGIOT, Sys_SigHandler );
 	signal( SIGBUS, Sys_SigHandler );
 
+	Sys_SetFloatEnv();
+
 	stdinIsATTY = isatty( STDIN_FILENO ) &&
 		!( term && ( !strcmp( term, "raw" ) || !strcmp( term, "dumb" ) ) );
 }
diff --git a/SP/code/sys/sys_unix.c b/SP/code/sys/sys_unix.c
index 0421362..65ce6aa 100644
--- a/SP/code/sys/sys_unix.c
+++ b/SP/code/sys/sys_unix.c
@@ -814,6 +814,8 @@ void Sys_PlatformInit( void )
 	signal( SIGIOT, Sys_SigHandler );
 	signal( SIGBUS, Sys_SigHandler );
 
+	Sys_SetFloatEnv();
+
 	stdinIsATTY = isatty( STDIN_FILENO ) &&
 		!( term && ( !strcmp( term, "raw" ) || !strcmp( term, "dumb" ) ) );
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list