[qfcc] Use _algined_free when using _aligned_malloc

Windows requires the two to be paired. I think this is the first time I
really tested windows qfcc on windows.
This commit is contained in:
Bill Currie 2022-09-19 13:37:08 +01:00
parent 6d64195a7b
commit feba790348
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@
//the first place, but not at all sure what to do about that)
#ifdef _WIN32
#define aligned_alloc(al, sz) _aligned_malloc(sz, al)
#define free(x) _aligned_free(x)
#endif
typedef struct {