瀏覽代碼

simplified calls to round

richarddobson 2 周之前
父節點
當前提交
80a4a8e58a
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2 5
      dev/filter/ap_filter.c

+ 2 - 5
dev/filter/ap_filter.c

@@ -54,13 +54,10 @@
 /*RWD April 2004*/
 /*RWD April 2004*/
 #include <filtcon.h>
 #include <filtcon.h>
 
 
-#ifndef cdp_round
-extern int cdp_round(double a);
-#endif
 
 
-#if defined unix || defined __GNUC__
+//#ifdef unix 
 #define round(x) lround((x))
 #define round(x) lround((x))
-#endif
+//#endif
 
 
 /********************************************************************************************/
 /********************************************************************************************/
 /********************************** FORMERLY IN buffers.c ***********************************/
 /********************************** FORMERLY IN buffers.c ***********************************/