Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/tools/mem_monitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef _MEM_MONITOR_H_
#define _MEM_MONITOR_H_

#ifdef __GNUC__ //apple clang does not have the sys/* libraries
#ifndef __APPLE__ //macOS does not have the sys/* libraries

#include "sys/types.h"
#include "sys/sysinfo.h"
Expand Down Expand Up @@ -87,4 +87,4 @@ unsigned long printMemUsage(){

#endif //check for apple clang

#endif
#endif