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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user