mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-01-25 08:43:47 +08:00
wfreerdp: fix data alignment for MSVC
This commit is contained in:
parent
0d9e65ea06
commit
c15f3c0112
@ -238,7 +238,15 @@ struct rdp_monitor
|
||||
|
||||
/* Settings */
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define ALIGN64 __attribute__((aligned(8)))
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
#define ALIGN64 __declspec(align(8))
|
||||
#else
|
||||
#define ALIGN64
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct rdp_settings
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user