Explorar o código

Fix for 64 bit.

Vincent Gee %!s(int64=11) %!d(string=hai) anos
pai
achega
ee55d302d8
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Engine/source/console/engineFunctions.h

+ 4 - 0
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.