Skip to content

Commit

Permalink
MacOS does not have malloc.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Nalini Ganapati committed May 9, 2024
1 parent 7ebb514 commit 84cc4d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/cpp/src/test_genomicsdb_demo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
#include "genomicsdb_logger.h"
#include "memory_measure.h"
#include "tiledb_utils.h"
#include <malloc.h>
#ifdef __linux__
# include <malloc.h>
#endif

#ifdef USE_GPERFTOOLS_HEAP
#include "gperftools/heap-profiler.h"
Expand Down

0 comments on commit 84cc4d6

Please sign in to comment.