File: run-remove-mips.diff

package info (click to toggle)
spim 8.0%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,780 kB
  • sloc: asm: 8,560; ansic: 8,439; yacc: 2,298; makefile: 1,107; lex: 706; sh: 219
file content (19 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: YunQiang Su <wzssyqa@gmail.com>
Description: make it compile on mips/mipsel
Index: spim/CPU/run.c
===================================================================
--- spim.orig/CPU/run.c	2013-10-13 12:04:11.724244468 +0800
+++ spim/CPU/run.c	2013-10-13 12:12:42.678913961 +0800
@@ -31,12 +31,7 @@
 */
 
 
-#ifdef mips
-#define _IEEE 1
-#include <nan.h>
-#else
 #define NaN(X) ((X) != (X))
-#endif
 
 #include <math.h>
 #include <stdio.h>