mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge pull request #992 from Winterleaf/Fix-engineFunctions.h
Pragma pack for x32/x64
This commit is contained in:
commit
bac84eec3c
1 changed files with 4 additions and 0 deletions
|
|
@ -77,7 +77,11 @@ struct EngineFunctionDefaultArguments
|
||||||
|
|
||||||
|
|
||||||
// Need byte-aligned packing for the default argument structures.
|
// Need byte-aligned packing for the default argument structures.
|
||||||
|
#ifdef _WIN64
|
||||||
|
#pragma pack( push, 4 )
|
||||||
|
#else
|
||||||
#pragma pack( push, 1 )
|
#pragma pack( push, 1 )
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Structure encapsulating default arguments to an engine API function.
|
// Structure encapsulating default arguments to an engine API function.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue