Commit 620dde4
committed
Don't use non-standard header for C11/C++17 aligned_alloc()
$ c++ -std=c++11 src/*.cpp -lvulkan
In file included from src/VmaUsage.h:35:0,
from src/VmaUsage.cpp:8:
src/vk_mem_alloc.h:2233:47: fatal error: malloc.h: No such file or directory
#include <malloc.h> // for aligned_alloc()
^1 parent bb99d69 commit 620dde4
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2229 | 2229 | | |
2230 | 2230 | | |
2231 | 2231 | | |
2232 | | - | |
2233 | | - | |
2234 | | - | |
2235 | | - | |
2236 | 2232 | | |
2237 | 2233 | | |
2238 | 2234 | | |
| |||
0 commit comments