浏览代码

simplified calls to round

richarddobson 2 周之前
父节点
当前提交
4a05b0218f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dev/distort/disprepro.c

+ 3 - 0
dev/distort/disprepro.c

@@ -42,6 +42,9 @@
 
 #include <sfsys.h>
 
+//#ifdef unix
+#define round(x) lround((x))
+//#endif