mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[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:
parent
6d64195a7b
commit
feba790348
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@
|
||||||
//the first place, but not at all sure what to do about that)
|
//the first place, but not at all sure what to do about that)
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define aligned_alloc(al, sz) _aligned_malloc(sz, al)
|
#define aligned_alloc(al, sz) _aligned_malloc(sz, al)
|
||||||
|
#define free(x) _aligned_free(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in a new issue