Merge pull request #1 from lucastheis/master
Merged the pull request from lucastheis to fix compiling problem with single precision (float) and SSE.
This commit is contained in:
commit
fb51be30d4
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user