[PATCH] include: Don't pack XACT_RUNTIME_PARAMETERS structure.
Connor McAdams
cmcadams at codeweavers.com
Thu Apr 22 15:10:10 CDT 2021
Move the XACT_RUNTIME_PARAMETERS structure definition outside of the
packing directive that the other structures are placed within. It isn't
packed in Windows, and was included with the others by mistake.
Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
---
include/xact3.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/xact3.h b/include/xact3.h
index 63eec707363..7b836f3bbec 100644
--- a/include/xact3.h
+++ b/include/xact3.h
@@ -442,6 +442,8 @@ typedef void (__stdcall *XACT_NOTIFICATION_CALLBACK)(
const XACT_NOTIFICATION *pNotification
);
+#include <poppack.h>
+
typedef struct XACT_RUNTIME_PARAMETERS
{
DWORD lookAheadTime;
@@ -457,8 +459,6 @@ typedef struct XACT_RUNTIME_PARAMETERS
} XACT_RUNTIME_PARAMETERS, *LPXACT_RUNTIME_PARAMETERS;
typedef const XACT_RUNTIME_PARAMETERS *LPCXACT_RUNTIME_PARAMETERS;
-#include <poppack.h>
-
#define XACT_FLAG_CUE_STOP_RELEASE XACT_FLAG_STOP_RELEASE
#define XACT_FLAG_CUE_STOP_IMMEDIATE XACT_FLAG_STOP_IMMEDIATE
--
2.25.1
More information about the wine-devel
mailing list