summaryrefslogtreecommitdiffstats
path: root/src/basic/missing_timerfd.h
blob: a01a4eca3aa1248b42928c6c774f0c150c7b764c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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