X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcoroutine%2F_info;h=28032d8d113ca2a83321423b92b6685abfebe3b9;hb=ed6dd33e06c0e8f1c4dd006e0b70d9f2d6ba6c09;hp=07e4b967e72777752a393eacafe32d7988afd12c;hpb=0fe2d094b262f6e8bed798930e8c4716d33d5dc7;p=ccan diff --git a/ccan/coroutine/_info b/ccan/coroutine/_info index 07e4b967..28032d8d 100644 --- a/ccan/coroutine/_info +++ b/ccan/coroutine/_info @@ -37,8 +37,11 @@ int main(int argc, char *argv[]) } if (strcmp(argv[1], "ccanlint") == 0) { - /* Context switching really confuses valgrind */ +#if !HAVE_VALGRIND_MEMCHECK_H + /* valgrind needs extra information to cope with stack + * switching */ printf("tests_pass_valgrind FAIL\n"); +#endif return 0; }