summaryrefslogtreecommitdiff
path: root/games-fps/tenebrae/files/tenebrae-1.04-redef.patch
blob: abcfacec180c9fe4d33c9a8dab6d626da7e28a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/sys_dosa.s
+++ b/sys_dosa.s
@@ -44,6 +44,8 @@
 
 	.text
 
+// Falls back to an empty stub on non-i386, in sys_linux.c
+#if     id386
 .globl C(Sys_LowFPPrecision)
 C(Sys_LowFPPrecision):
 	fldcw	single_cw
@@ -55,6 +57,7 @@
 	fldcw	full_cw
 
 	ret
+#endif
 
 .globl C(Sys_PushFPCW_SetHigh)
 C(Sys_PushFPCW_SetHigh):