Removed unused round, references math functions without including math.h
+ fixed compilation error with clang-cl
This commit is contained in:
1
conf.h
1
conf.h
@ -131,7 +131,6 @@ static inline int clz64(uint64_t x) { unsigned long z; _BitScanReverse64(&z, x
|
||||
#define strcasecmp _stricmp
|
||||
#define strncasecmp _strnicmp
|
||||
#define strtoull _strtoui64
|
||||
static inline double round(double num) { return (num > 0.0) ? floor(num + 0.5) : ceil(num - 0.5); }
|
||||
#endif
|
||||
|
||||
#define bsr8(_x_) bsr32(_x_)
|
||||
|
||||
Reference in New Issue
Block a user