瀏覽代碼

simplified calls to round

richarddobson 3 周之前
父節點
當前提交
a4cdaca085
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dev/standalone/mchshred.c

+ 2 - 2
dev/standalone/mchshred.c

@@ -71,9 +71,9 @@
 //#include <memory.h>
 //#include <memory.h>
 //#include <string.h>
 //#include <string.h>
 
 
-#if defined unix || defined __GNUC__
+//#ifdef unix 
 #define round(x) lround((x))
 #define round(x) lround((x))
-#endif
+//#endif
 #ifndef HUGE
 #ifndef HUGE
 #define HUGE 3.40282347e+38F
 #define HUGE 3.40282347e+38F
 #endif
 #endif