mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 20:33:38 +00:00
schannel: Use FIELD_OFFSET instead of offsetof.
This commit is contained in:
parent
04a3aa99a6
commit
e748d62e77
|
@ -33,9 +33,9 @@
|
||||||
#include "wine/test.h"
|
#include "wine/test.h"
|
||||||
|
|
||||||
/* Helper macros to find the size of SECPKG_FUNCTION_TABLE */
|
/* Helper macros to find the size of SECPKG_FUNCTION_TABLE */
|
||||||
#define SECPKG_FUNCTION_TABLE_SIZE_1 offsetof(SECPKG_FUNCTION_TABLE, \
|
#define SECPKG_FUNCTION_TABLE_SIZE_1 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \
|
||||||
SetContextAttributes)
|
SetContextAttributes)
|
||||||
#define SECPKG_FUNCTION_TABLE_SIZE_2 offsetof(SECPKG_FUNCTION_TABLE, \
|
#define SECPKG_FUNCTION_TABLE_SIZE_2 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \
|
||||||
SetCredentialsAttributes)
|
SetCredentialsAttributes)
|
||||||
#define SECPKG_FUNCTION_TABLE_SIZE_3 sizeof(SECPKG_FUNCTION_TABLE)
|
#define SECPKG_FUNCTION_TABLE_SIZE_3 sizeof(SECPKG_FUNCTION_TABLE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue