summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-05-31 06:43:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2020-05-31 06:43:57 +0200
commit05e2bb37e39fb6c61d5d73c609de19058df05c5a (patch)
treea9eff63fa3d05b1b7cc46a2020d15d18825b0917
parent58d857673ed0fdd801da53b7c7b6dec1dc26d60a (diff)
proto/wine: fix osx sdk build hack
-rw-r--r--proto-wine/opentrack-wrapper-wine-windows.cxx3
-rw-r--r--proto-wine/wine-shm.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/proto-wine/opentrack-wrapper-wine-windows.cxx b/proto-wine/opentrack-wrapper-wine-windows.cxx
index fb59eb43..c1d552e1 100644
--- a/proto-wine/opentrack-wrapper-wine-windows.cxx
+++ b/proto-wine/opentrack-wrapper-wine-windows.cxx
@@ -4,6 +4,9 @@
#define shm_wrapper ShmWine
#define __WINE_OLE2_H
+// OSX sdk 10.8 build error otherwise
+#undef _LIBCPP_MSVCRT
+
#include "compat/shm.h"
#include "compat/shm.cpp"
#include "wine-shm.h"
diff --git a/proto-wine/wine-shm.h b/proto-wine/wine-shm.h
index fc3f8711..62e8bbec 100644
--- a/proto-wine/wine-shm.h
+++ b/proto-wine/wine-shm.h
@@ -8,9 +8,6 @@
# pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
-// OSX sdk 10.8 build error otherwise
-#undef _LIBCPP_MSVCRT
-
#ifdef __clang__
# pragma clang diagnostic pop
#endif