[raknet] Force 1-byte struct alignment

This commit is contained in:
RD42
2026-01-02 12:24:12 -08:00
parent d73e120242
commit af3f588fcf
+5
View File
@@ -21,6 +21,9 @@
#include "RakNetDefines.h"
#include "Export.h"
#pragma pack(push)
#pragma pack(1)
/// Forward declaration
namespace RakNet
{
@@ -255,5 +258,7 @@ const int PING_TIMES_ARRAY_SIZE = 5;
/// \param[in] functionName The function name
#define UNREGISTER_CLASS_MEMBER_RPC(networkObject, className, functionName) (networkObject)->UnregisterAsRemoteProcedureCall((#className "_" #functionName))
#pragma pack(pop)
#endif