mirror of
https://github.com/StrikerX3/StrikeBox.git
synced 2024-06-23 14:53:22 -04:00
15 lines
188 B
C++
15 lines
188 B
C++
#pragma once
|
|
|
|
#include <cstdlib>
|
|
|
|
namespace strikebox {
|
|
|
|
#ifdef _WIN32
|
|
#define valloc(size) _aligned_malloc((size), 4096)
|
|
#define vfree _aligned_free
|
|
#else
|
|
#define vfree free
|
|
#endif
|
|
|
|
}
|