From 05e2bb37e39fb6c61d5d73c609de19058df05c5a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 31 May 2020 06:43:57 +0200 Subject: proto/wine: fix osx sdk build hack --- proto-wine/opentrack-wrapper-wine-windows.cxx | 3 +++ proto-wine/wine-shm.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'proto-wine') 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 -- cgit v1.2.3