fixed HAWK_SIZEOF_SKAD_T defintion
This commit is contained in:
parent
fb1084a045
commit
7585c36e3e
@ -1362,15 +1362,15 @@ typedef enum hawk_log_mask_t hawk_log_mask_t;
|
||||
# undef HAWK_SIZEOF_SKAD_T
|
||||
# define HAWK_SIZEOF_SKAD_T HAWK_SIZEOF_STRUCT_SOCKADDR_IN
|
||||
#endif
|
||||
#if (HAWK_SIZEOF_STRUCT_SOCKADDR_IN6 > 0)
|
||||
#if (HAWK_SIZEOF_STRUCT_SOCKADDR_IN6 > HAWK_SIZEOF_SKAD_T)
|
||||
# undef HAWK_SIZEOF_SKAD_T
|
||||
# define HAWK_SIZEOF_SKAD_T HAWK_SIZEOF_STRUCT_SOCKADDR_IN6
|
||||
#endif
|
||||
#if (HAWK_SIZEOF_STRUCT_SOCKADDR_LL > 0)
|
||||
#if (HAWK_SIZEOF_STRUCT_SOCKADDR_LL > HAWK_SIZEOF_SKAD_T)
|
||||
# undef HAWK_SIZEOF_SKAD_T
|
||||
# define HAWK_SIZEOF_SKAD_T HAWK_SIZEOF_STRUCT_SOCKADDR_LL
|
||||
#endif
|
||||
#if (HAWK_SIZEOF_STRUCT_SOCKADDR_UN > 0)
|
||||
#if (HAWK_SIZEOF_STRUCT_SOCKADDR_UN > HAWK_SIZEOF_SKAD_T)
|
||||
# undef HAWK_SIZEOF_SKAD_T
|
||||
# define HAWK_SIZEOF_SKAD_T HAWK_SIZEOF_STRUCT_SOCKADDR_UN
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user