Skip to content

Commit c878019

Browse files
committed
Add fix for OS X
1 parent b776446 commit c878019

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

unittests/CppInterOp/Utils.h

+8-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@
55

66
#include <memory>
77
#include <vector>
8-
#include <valgrind/valgrind.h>
8+
9+
#ifndef __APPLE__
10+
#include <valgrind/valgrind.h>
11+
#endif //__APPLE__
12+
13+
#ifdef __APPLE__
14+
#define RUNNING_ON_VALGRIND 0
15+
#endif //__APPLE__
916

1017
using namespace clang;
1118
using namespace llvm;

0 commit comments

Comments
 (0)