3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

add support to build with MSVC /Gr (fastcall mode for x86)

not enabled by default nor exposed at the moment
This commit is contained in:
Nuno Lopes 2016-03-24 15:39:18 +00:00
parent 89fad8913f
commit 83e34638e6
8 changed files with 15 additions and 8 deletions

View file

@ -69,6 +69,12 @@ COMPILE_TIME_ASSERT(sizeof(int64) == 8);
#define THREAD_LOCAL
#endif
#ifdef _MSC_VER
# define STD_CALL __cdecl
#else
# define STD_CALL
#endif
#ifdef __fallthrough
# define Z3_fallthrough __fallthrough
#elif defined(__has_cpp_attribute)