Merge pull request #901 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mono / utils / mono-compiler.h
index 56f5ea90addbdf83bfe8f6a4440d71a568b23b8e..a533a9f01e33867044ce77558d92992f1bfac588 100644 (file)
 /* Deal with Microsoft C compiler differences */
 #ifdef _MSC_VER
 
+#include <math.h>
+
+#if _MSC_VER < 1800 /* VS 2013 */
+#define strtoull _strtoui64
+#endif
+
 #include <float.h>
 #define isnan(x)       _isnan(x)
 #define trunc(x)       (((x) < 0) ? ceil((x)) : floor((x)))