From c8fb7bfa37555e5cbe68f368ebb98b161fb2771a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 22 Sep 2019 16:48:48 +0200 Subject: proto/wine: add hack for newer gcc versions --- proto-wine/opentrack-wrapper-wine-main.cxx | 1 + proto-wine/opentrack-wrapper-wine-windows.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/proto-wine/opentrack-wrapper-wine-main.cxx b/proto-wine/opentrack-wrapper-wine-main.cxx index 6370e7f4..3df3abc7 100644 --- a/proto-wine/opentrack-wrapper-wine-main.cxx +++ b/proto-wine/opentrack-wrapper-wine-main.cxx @@ -12,6 +12,7 @@ enum Axis { TX = 0, TY, TZ, Yaw, Pitch, Roll }; +#define __WINE_OLE2_H #include "compat/shm.h" void create_registry_key(void); diff --git a/proto-wine/opentrack-wrapper-wine-windows.cxx b/proto-wine/opentrack-wrapper-wine-windows.cxx index d464cf6c..88ced502 100644 --- a/proto-wine/opentrack-wrapper-wine-windows.cxx +++ b/proto-wine/opentrack-wrapper-wine-windows.cxx @@ -3,6 +3,7 @@ #endif #define shm_wrapper ShmWine +#define __WINE_OLE2_H #include "compat/shm.h" #include "compat/shm.cpp" #include "wine-shm.h" -- cgit v1.2.3