Blame patches/sdl2/alignment.patch
|
|
d7cf18 |
diff -ru SDL2-2.0.12.orig/src/video/windows/SDL_windowstaskdialog.h SDL2-2.0.12/src/video/windows/SDL_windowstaskdialog.h
|
|
|
d7cf18 |
--- SDL2-2.0.12.orig/src/video/windows/SDL_windowstaskdialog.h 2020-03-11 02:36:18.000000000 +0100
|
|
|
d7cf18 |
+++ SDL2-2.0.12/src/video/windows/SDL_windowstaskdialog.h 2020-10-07 13:45:15.231259024 +0200
|
|
|
d7cf18 |
@@ -18,7 +18,7 @@
|
|
|
d7cf18 |
misrepresented as being the original software.
|
|
|
d7cf18 |
3. This notice may not be removed or altered from any source distribution.
|
|
|
d7cf18 |
*/
|
|
|
d7cf18 |
-#include <pshpack1.h>
|
|
|
d7cf18 |
+#pragma pack(push,1)
|
|
|
d7cf18 |
|
|
|
d7cf18 |
typedef HRESULT(CALLBACK *PFTASKDIALOGCALLBACK)(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, LONG_PTR lpRefData);
|
|
|
d7cf18 |
|
|
|
d7cf18 |
@@ -153,4 +153,4 @@
|
|
|
d7cf18 |
UINT cxWidth; // width of the Task Dialog's client area in DLU's. If 0, Task Dialog will calculate the ideal width.
|
|
|
d7cf18 |
} TASKDIALOGCONFIG;
|
|
|
d7cf18 |
|
|
|
d7cf18 |
-#include <poppack.h>
|
|
|
d7cf18 |
+#pragma pack(pop)
|