tests: Fix leak when checking for du binary
[glib.git] / glib / gvalgrind.h
blob053c75a987c15fcc4cebc81688b79542f06959e0
1 /*
2 * Copyright 2018 Collabora ltd.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
17 * Author: Xavier Claessens <xavier.claessens@collabora.com>
20 #ifndef __G_VALGRIND_H__
21 #define __G_VALGRIND_H__
23 #if HAVE_STDINT_H
24 #include <stdint.h>
25 #endif
27 #ifndef _MSC_VER
28 #include "valgrind.h"
29 #define ENABLE_VALGRIND 1
30 #endif
32 #endif /* __G_VALGRIND_H__ */