summaryrefslogtreecommitdiffhomepage
path: root/proto-wine
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-09-22 16:48:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-09-22 16:51:51 +0200
commitc8fb7bfa37555e5cbe68f368ebb98b161fb2771a (patch)
tree1556b2b2cb74568591e1c8fb320a39d4ea74405f /proto-wine
parente36f509d2459ca74c0dc7fe2e8ea2275b88f0649 (diff)
proto/wine: add hack for newer gcc versions
Diffstat (limited to 'proto-wine')
-rw-r--r--proto-wine/opentrack-wrapper-wine-main.cxx1
-rw-r--r--proto-wine/opentrack-wrapper-wine-windows.cxx1
2 files changed, 2 insertions, 0 deletions
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"