summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/opentrack-wrapper-wine-windows.cxx
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-07 13:15:30 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:47 +0100
commitb3da5c6698d4ec39d62062d23f1da79f9c359cdf (patch)
tree8b74effb405c964653e47a773fb33f7c08c070d0 /proto-wine/opentrack-wrapper-wine-windows.cxx
parentfd3eb4515639e000b899544827b5fd4ff9473937 (diff)
Revert "compat/shm, proto/wine: remove duplication"
This reverts commit bab093ebbe392927a92ef201fe60344d5c1191dd.
Diffstat (limited to 'proto-wine/opentrack-wrapper-wine-windows.cxx')
-rw-r--r--proto-wine/opentrack-wrapper-wine-windows.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/proto-wine/opentrack-wrapper-wine-windows.cxx b/proto-wine/opentrack-wrapper-wine-windows.cxx
index 063e35df..d464cf6c 100644
--- a/proto-wine/opentrack-wrapper-wine-windows.cxx
+++ b/proto-wine/opentrack-wrapper-wine-windows.cxx
@@ -2,18 +2,14 @@
# error "bad cross"
#endif
-#define SHM_TYPE_NAME shm_impl_winelib
-#define SHM_FUN_PREFIX shm_impl_winelib_
-#define SHMXX_TYPE_NAME mem_winelib
+#define shm_wrapper ShmWine
+#include "compat/shm.h"
#include "compat/shm.cpp"
-
#include "wine-shm.h"
#include "compat/library-path.hpp"
-
#include <cstring>
-#include <windows.h>
-#include <winreg.h>
+using std::strcat;
static void write_path(const char* key, const char* subkey)
{