missing_timerfd: TFD_TIMER_CANCEL_ON_SET is defined since glibc-2.26

This commit is contained in:
Yu Watanabe
2025-03-04 02:24:49 +09:00
parent e75372958d
commit 003b845cb2
2 changed files with 0 additions and 13 deletions
-12
View File
@@ -1,12 +0,0 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <sys/timerfd.h>
#include "macro.h"
#ifndef TFD_TIMER_CANCEL_ON_SET
# define TFD_TIMER_CANCEL_ON_SET (1 << 1)
#else
assert_cc(TFD_TIMER_CANCEL_ON_SET == (1 << 1));
#endif
-1
View File
@@ -18,7 +18,6 @@
#include "io-util.h"
#include "log.h"
#include "macro.h"
#include "missing_timerfd.h"
#include "parse-util.h"
#include "path-util.h"
#include "process-util.h"