1
0
Fork 0

DBG: downgraded plugin SDK version again (1 byte alignment not needed), now FORCE default alignment

This commit is contained in:
Mr. eXoDia 2014-05-10 15:10:02 +02:00
parent 7bf164d8a5
commit faf53de72a
2 changed files with 13 additions and 3 deletions

View File

@ -3,7 +3,12 @@
#include <windows.h>
#pragma pack(push, 1)
//default structure alignments forced
#ifdef _WIN64
#pragma pack(push, 16)
#else //x86
#pragma pack(push, 8)
#endif //_WIN64
#ifdef _WIN64
typedef unsigned long long duint;

View File

@ -11,10 +11,15 @@
#include "_plugin_types.h"
#pragma pack(push, 1)
//default structure alignments forced
#ifdef _WIN64
#pragma pack(push, 16)
#else //x86
#pragma pack(push, 8)
#endif //_WIN64
//defines
#define PLUG_SDKVERSION 2
#define PLUG_SDKVERSION 1
//structures
struct PLUG_INITSTRUCT