mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Fixing alignment of struct on GCC, changing the method to server one
This commit is contained in:
1 parent
8a856e4672
commit
132926ee09
2 files changed
+9
-4
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user