1
0
mirror of https://github.com/falk-werner/webfuse synced 2026-10-11 06:00:59 +00:00

fix check of existense of closefrom function

This commit is contained in:
Falk Werner
2024-01-08 18:21:56 +01:00
committed by Falk Werner
parent e8a9d3351d
commit 8554d74a0d
2 changed files with 4 additions and 2 deletions

View File

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