1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-12 14:43:24 +00:00

Rearranged option group bits to only require 32 bits on older systems

This commit is contained in:
Gerhard Rieger 2023-09-30 10:16:01 +02:00
parent 2cddaf22b1
commit c01722ac3e
7 changed files with 24 additions and 7 deletions

6
xio.h
View file

@ -89,8 +89,14 @@ enum xiotag {
streams */
} ;
/* Keep condition consistent with xioopts.h:GROUP_*! */
#if WITH_SCTP
typedef uint64_t groups_t;
#define F_groups_t F_uint64_x
#else
typedef uint32_t groups_t;
#define F_groups_t F_uint32_x
#endif
/* global XIO options/parameters */
typedef struct {