We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19d6a93 commit 2118eedCopy full SHA for 2118eed
demo/test.c
@@ -5,8 +5,17 @@
5
#include "s_mp_rand_jenkins.c"
6
7
/* TODO: Make it an environment variable via main.yml?
8
- This is for testing only, so no to add checks to the build process. */
9
-#include <valgrind/valgrind.h>
+ This is for testing only, so no reason to add checks to the build process. */
+#ifdef __has_include
10
+# if __has_include (<valgrind/valgrind.h>)
11
+# include <valgrind/valgrind.h>
12
+# else
13
+# define RUNNING_ON_VALGRIND 1
14
+# endif
15
+#else
16
17
+#endif
18
+
19
20
static long rand_long(void)
21
{
0 commit comments