mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
only include vector header when compiling c++
This commit is contained in:
parent
d97c56d4c1
commit
0a2520490b
1 changed files with 4 additions and 0 deletions
|
@ -25,7 +25,11 @@ we therefore test the API over various inputs. Please add more tests :-)
|
|||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <vector>
|
||||
#endif
|
||||
|
||||
#include "mimalloc.h"
|
||||
#include "mimalloc-internal.h"
|
||||
#include "mimalloc-stl-allocator.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue