3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 13:06:05 +00:00

remove suport for VS 2013

This commit is contained in:
Nuno Lopes 2019-06-19 15:06:39 +01:00
parent 88d51d3377
commit e603bc1ea1
2 changed files with 0 additions and 42 deletions

View file

@ -220,15 +220,8 @@ void * memory::allocate(char const* file, int line, char const* obj, size_t s) {
// when the local counter > SYNCH_THRESHOLD
#define SYNCH_THRESHOLD 100000
#ifdef _WINDOWS
// This is VS2013 specific instead of Windows specific.
// It can go away with VS2017 builds
__declspec(thread) long long g_memory_thread_alloc_size = 0;
__declspec(thread) long long g_memory_thread_alloc_count = 0;
#else
thread_local long long g_memory_thread_alloc_size = 0;
thread_local long long g_memory_thread_alloc_count = 0;
#endif
static void synchronize_counters(bool allocating) {
#ifdef PROFILE_MEMORY