From ccd2e4375a3a8d1338d15d00193ff56da63809c3 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 9 Oct 2013 19:49:09 +0000 Subject: Fix compilation error after recent libmv change - Tweaked typedefs in stdint so they match what we've got in BLI_sys_types (needed to explicitly tell sign to MSVC). Not so much harmful to be more explicit here, but we really better to have single stdint int blender. - Tweaked allocations macros so MSVC is happy with structures allocation. --- intern/guardedalloc/MEM_guardedalloc.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'intern/guardedalloc') diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index aebde0a6425..0b32596b36c 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -256,12 +256,6 @@ public: \ ((type*)(what))->~type(); \ MEM_freeN(what); \ } } (void)0 -#define OBJECT_GUARDED_DELETE_ARRAY(what, type, count) \ - { if(what) { \ - for (int i = 0; i < count; i++) ((type*)(what))[i].~type(); \ - MEM_freeN(what); \ - } } (void)0 - #endif /* __cplusplus */ #ifdef __cplusplus -- cgit v1.2.3