fix mempool test to use __has_include
This follows 6b88d6f35b.
* tests/core/mempool.cc: Use __has_include too.
This commit is contained in:
parent
75818fde13
commit
5cd0ce14b0
1 changed files with 3 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- coding: utf-8 -*-
|
// -*- coding: utf-8 -*-
|
||||||
// Copyright (C) 2016, 2018 Laboratoire de Recherche et Développement
|
// Copyright (C) 2016, 2018, 2022 Laboratoire de Recherche et
|
||||||
// de l'Epita.
|
// Développement de l'Epita.
|
||||||
//
|
//
|
||||||
// This file is part of Spot, a model checking library.
|
// This file is part of Spot, a model checking library.
|
||||||
//
|
//
|
||||||
|
|
@ -103,7 +103,7 @@ namespace
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifndef HAVE_VALGRIND_MEMCHECK_H
|
#if !__has_include(<valgrind/memcheck.h>)
|
||||||
return 77;
|
return 77;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -186,4 +186,3 @@ int main()
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue