From 134b2556ad13117f959016bf95c1566375f9a1d9 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Tue, 17 Jan 2023 22:56:36 +0000 Subject: [PATCH] Oh yeah, OpenSSL on windows, too, these days. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4128 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/mem.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/mem.c b/src/mem.c index 29f13f8e..753820c9 100644 --- a/src/mem.c +++ b/src/mem.c @@ -2,9 +2,7 @@ #include -#if !defined(_WIN32) #include -#endif #include @@ -113,7 +111,6 @@ size_t tf_mem_get_uv_malloc_size() return s_uv_malloc_size; } -#if !defined(_WIN32) void* _tf_tls_alloc(size_t size, const char* file, int line) { return _tf_alloc(&s_tls_malloc_size, size); @@ -128,13 +125,10 @@ void _tf_tls_free(void* ptr, const char* file, int line) { _tf_free(&s_tls_malloc_size, ptr); } -#endif void tf_mem_replace_tls_allocator() { -#if !defined(_WIN32) CRYPTO_set_mem_functions(_tf_tls_alloc, _tf_tls_realloc, _tf_tls_free); -#endif } size_t tf_mem_get_tls_malloc_size()