1/* 2 * Copyright 2022, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _OBSD_COMPAT_SYS_PARAM_H_ 6#define _OBSD_COMPAT_SYS_PARAM_H_ 7 8 9#include_next <sys/param.h> 10 11 12/* #pragma mark - bit manipulation */ 13 14#define SET(t, f) ((t) |= (f)) 15#define CLR(t, f) ((t) &= ~(f)) 16#define ISSET(t, f) ((t) & (f)) 17 18 19#endif /* _OBSD_COMPAT_SYS_PARAM_H_ */ 20