Browse Source

simplified calls to round

richarddobson 2 weeks ago
parent
commit
4a5df9782b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dev/extend/ap_extend.c

+ 2 - 2
dev/extend/ap_extend.c

@@ -52,9 +52,9 @@
 #include <limits.h>
 #include <limits.h>
 #include <float.h>
 #include <float.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