Move SET/CLR/ISSET from config.h.in to missing.h
This commit is contained in:
@@ -1002,14 +1002,6 @@
|
|||||||
# define ignore_result(x) (void)(x)
|
# define ignore_result(x) (void)(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Macros to set/clear/test flags. */
|
|
||||||
#undef SET
|
|
||||||
#define SET(t, f) ((t) |= (f))
|
|
||||||
#undef CLR
|
|
||||||
#define CLR(t, f) ((t) &= ~(f))
|
|
||||||
#undef ISSET
|
|
||||||
#define ISSET(t, f) ((t) & (f))
|
|
||||||
|
|
||||||
/* BSD compatibility on some SVR4 systems. */
|
/* BSD compatibility on some SVR4 systems. */
|
||||||
#ifdef __svr4__
|
#ifdef __svr4__
|
||||||
# define BSD_COMP
|
# define BSD_COMP
|
||||||
|
@@ -3778,14 +3778,6 @@ AH_BOTTOM([/*
|
|||||||
# define ignore_result(x) (void)(x)
|
# define ignore_result(x) (void)(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Macros to set/clear/test flags. */
|
|
||||||
#undef SET
|
|
||||||
#define SET(t, f) ((t) |= (f))
|
|
||||||
#undef CLR
|
|
||||||
#define CLR(t, f) ((t) &= ~(f))
|
|
||||||
#undef ISSET
|
|
||||||
#define ISSET(t, f) ((t) & (f))
|
|
||||||
|
|
||||||
/* BSD compatibility on some SVR4 systems. */
|
/* BSD compatibility on some SVR4 systems. */
|
||||||
#ifdef __svr4__
|
#ifdef __svr4__
|
||||||
# define BSD_COMP
|
# define BSD_COMP
|
||||||
|
@@ -158,6 +158,14 @@
|
|||||||
# define MAX(a,b) (((a)>(b))?(a):(b))
|
# define MAX(a,b) (((a)>(b))?(a):(b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Macros to set/clear/test flags. */
|
||||||
|
#undef SET
|
||||||
|
#define SET(t, f) ((t) |= (f))
|
||||||
|
#undef CLR
|
||||||
|
#define CLR(t, f) ((t) &= ~(f))
|
||||||
|
#undef ISSET
|
||||||
|
#define ISSET(t, f) ((t) & (f))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Some systems define this in <sys/param.h> but we don't include that anymore.
|
* Some systems define this in <sys/param.h> but we don't include that anymore.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user