From ee55d302d843b0db80ab4b36d9bf96b3424c693d Mon Sep 17 00:00:00 2001 From: Vincent Gee Date: Sun, 30 Nov 2014 19:14:20 -0500 Subject: [PATCH] Fix for 64 bit. --- Engine/source/console/engineFunctions.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Engine/source/console/engineFunctions.h b/Engine/source/console/engineFunctions.h index 8941e75ce..dedefcf35 100644 --- a/Engine/source/console/engineFunctions.h +++ b/Engine/source/console/engineFunctions.h @@ -77,7 +77,11 @@ struct EngineFunctionDefaultArguments // Need byte-aligned packing for the default argument structures. +#ifdef _WIN64 +#pragma pack( push, 4 ) +#else #pragma pack( push, 1 ) +#endif // Structure encapsulating default arguments to an engine API function.