fix commit for CROSSATARI

This commit is contained in:
Thomas Bernard
2019-02-09 03:52:01 +01:00
parent 96d59333e3
commit 4176f1f84b
3 changed files with 26 additions and 8 deletions

View File

@@ -42,11 +42,10 @@
#include "bitcount.h"
// I don't have round() in MSVC++ 2010 (_MSC_VER=1600)
#if defined(_MSC_VER)
#if _MSC_VER < 1900
// or in mintlib
#if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__MINT__)
#define round(x) floor(x+0.5)
#endif
#endif
static const struct {