summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/opentrack-wrapper-wine-posix.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'proto-wine/opentrack-wrapper-wine-posix.cxx')
-rw-r--r--proto-wine/opentrack-wrapper-wine-posix.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/proto-wine/opentrack-wrapper-wine-posix.cxx b/proto-wine/opentrack-wrapper-wine-posix.cxx
index e36407a9..17a74b66 100644
--- a/proto-wine/opentrack-wrapper-wine-posix.cxx
+++ b/proto-wine/opentrack-wrapper-wine-posix.cxx
@@ -1,7 +1,6 @@
-#ifdef _WIN32
-# undef _WIN32
-#endif
+#undef _WIN32
-#define shm_wrapper ShmPosix
-#include "compat/shm.h"
+#define SHM_TYPE_NAME shm_impl_unix
+#define SHM_FUN_PREFIX shm_impl_unix_
+#define SHMXX_TYPE_NAME mem_unix
#include "compat/shm.cpp"