Prechádzať zdrojové kódy

Merge pull request #2004 from Areloch/PragmaPack

Ups the #pragma pack call from 4 to 8 when using 64bit
Areloch 8 rokov pred
rodič
commit
2b8532f679
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Engine/source/console/engineFunctions.h

+ 1 - 1
Engine/source/console/engineFunctions.h

@@ -80,7 +80,7 @@ struct EngineFunctionDefaultArguments
 
 
 // Need byte-aligned packing for the default argument structures.
 // Need byte-aligned packing for the default argument structures.
 #ifdef _WIN64
 #ifdef _WIN64
-#pragma pack( push, 4 )
+#pragma pack( push, 8 )
 #else
 #else
 #pragma pack( push, 1 )
 #pragma pack( push, 1 )
 #endif
 #endif