diff options
Diffstat (limited to 'src/corelib/io/forkfd_qt.c')
-rw-r--r-- | src/corelib/io/forkfd_qt.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/corelib/io/forkfd_qt.c b/src/corelib/io/forkfd_qt.c new file mode 100644 index 0000000000..7107b2c6a0 --- /dev/null +++ b/src/corelib/io/forkfd_qt.c @@ -0,0 +1,15 @@ +// Copyright (C) 2016 Intel Corporation. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +#endif +#include <QtCore/qglobal.h> + +#define FORKFD_NO_SPAWNFD +#if defined(QT_NO_DEBUG) && !defined(NDEBUG) +# define NDEBUG +#endif + +#include <forkfd.h> +#include "../../3rdparty/forkfd/forkfd.c" |