-
-
Maybe it's worth keeping their marco in bcam_osal.h, which is kind of like the Intel nic osdep.h and just definining it in terms of the sysmacros.h one instead?
-
I think it is worth to discuss with the author(s) - we definitely do not want (actually do not need) sysmacros.h - we have offsetof in sys/stddef.h; and we do get it with
__containerof
. -
I totally forgot about the most important reason why we would like to touch such sources in first place - I think all current popular operating systems do have macros like offsetof and we really should avoid such private definitions:)
-
-