Browse Source

simplified calls to round

richarddobson 3 weeks ago
parent
commit
3b6d9e23f3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      dev/specinfo/ap_specinfo.c

+ 4 - 0
dev/specinfo/ap_specinfo.c

@@ -47,6 +47,10 @@
 #include <math.h>
 #include <math.h>
 #include <srates.h>
 #include <srates.h>
 
 
+ //#ifdef unix 
+#define round(x) lround((x))
+//#endif
+
 /********************************************************************************************/
 /********************************************************************************************/
 /********************************** FORMERLY IN pconsistency.c ******************************/
 /********************************** FORMERLY IN pconsistency.c ******************************/
 /********************************************************************************************/
 /********************************************************************************************/