fix check of existense of closefrom function

pull/116/head v2.0.1
Falk Werner 4 months ago committed by Falk Werner
parent e8a9d3351d
commit 8554d74a0d

@ -4,7 +4,8 @@
#include <sys/wait.h>
#include <fcntl.h>
#ifndef closefrom
// closefrom was introduced in glibc 2.34
#if __GLIBC__ <= 2 && __GLIBC_MINOR__ < 34
namespace
{

@ -9,7 +9,8 @@
#include <stdexcept>
#ifndef closefrom
// closefrom was introduced in glibc 2.34
#if __GLIBC__ <= 2 && __GLIBC_MINOR__ < 34
namespace
{

Loading…
Cancel
Save