-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename OFFSETOF macro to WolfSSL specific WC_OFFSETOF name #8484
Conversation
Can one of the admins verify this patch? |
@jmalak is an approved contributor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good idea. Just one tweak -- the macro is defined in the wolfCrypt layer, so it should be renamed to WC_OFFSETOF
.
There are the following reasons for this - it conflicts with the OFFSETOF macro in the OS/2 header (Open Watcom) - it is compiler-specific and should use the C standard offsetof definition in the header file stddef.h - it is more transparent unique name
ok to test. |
retest this please ( |
merged through failing workflow "mosquitto Tests" (expired certs at runtime, no possible connection to PR) |
Description
There are the following reasons for this
offsetof
definition in the header filestddef.h
Testing
How did you test?
Checklist