Fixing alignment of struct on GCC, changing the method to server one

This commit is contained in:
Evengard committed 2020-05-03 05:17:23 +03:00
1 parent 8a856e4672
commit 132926ee09
2 files changed
+9 -4

No files matched your search

+6 -2
View File
@@ -189,7 +189,9 @@ struct PPP_OPTION
#ifdef OS_WIN32
#pragma pack(push, 1)
#endif // OS_WIN32
#else // OS_WIN32
#pragma pack(1)
#endif
// PPP EAP packet
@@ -217,7 +219,9 @@ struct PPP_EAP
#ifdef OS_WIN32
#pragma pack(pop)
#endif // OS_WIN32
#else // OS_WIN32
#pragma pack()
#endif
struct PPP_EAP_TLS_CONTEXT
{