MSVC changes

Add support for compilation on x64 toolchain (x86 cl.exe was running out of heap space in vm.cpp)

Also took the opportunity to change compile optimisation from /Ox to /O2, as /O2 provides better optimisation than does /Ox

Also, we shouldn't be explicitely setting compiler tool defines (__cpp_lib_bitops), so remove that from types.h
This commit is contained in:
Bevan Weiss 2020-08-14 14:33:06 +10:00 committed by Ani
parent 9e4f43f4d1
commit a11afe05bf
19 changed files with 70 additions and 9 deletions

View file

@ -17,11 +17,6 @@
#include <limits>
#include <array>
#ifdef _MSC_VER
#ifndef __cpp_lib_bitops
#define __cpp_lib_bitops
#endif
#endif
#include <bit>
#ifndef __has_builtin