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 f68379eCopy full SHA for f68379e
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
+# endif
13
+#else
14
+# define RUNNING_ON_VALGRIND 1
15
+#endif
16
17
18
19
20
static long rand_long(void)
21
{
0 commit comments