From d83800b05cd876dbfbe09cc113ab84cb6726ed8d Mon Sep 17 00:00:00 2001 From: Lucas Theis Date: Sat, 22 Dec 2012 16:26:45 +0100 Subject: [PATCH] Minor fix. --- lib/arithmetic_sse_float.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/arithmetic_sse_float.h b/lib/arithmetic_sse_float.h index 835b8aa..f5691b1 100644 --- a/lib/arithmetic_sse_float.h +++ b/lib/arithmetic_sse_float.h @@ -65,7 +65,11 @@ inline static void* vecalloc(size_t size) inline static void vecfree(void *memblock) { +#ifdef _MSC_VER _aligned_free(memblock); +#else + free(memblock); +#endif } #define vecset(x, c, n) \