diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-25 09:53:52 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-25 09:53:52 +0100 |
commit | bab093ebbe392927a92ef201fe60344d5c1191dd (patch) | |
tree | 7f062abab2f17f614a3a81e2836a15e90cef3496 /proto-wine/opentrack-wrapper-wine-windows.cxx | |
parent | 323dd162f5326b998e1c92ab4cfec8a63574023f (diff) |
compat/shm, proto/wine: remove duplication
The X-Plane plugin is next and should build on win32 then.
Diffstat (limited to 'proto-wine/opentrack-wrapper-wine-windows.cxx')
-rw-r--r-- | proto-wine/opentrack-wrapper-wine-windows.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/proto-wine/opentrack-wrapper-wine-windows.cxx b/proto-wine/opentrack-wrapper-wine-windows.cxx index d464cf6c..a18900c3 100644 --- a/proto-wine/opentrack-wrapper-wine-windows.cxx +++ b/proto-wine/opentrack-wrapper-wine-windows.cxx @@ -2,9 +2,11 @@ # error "bad cross" #endif -#define shm_wrapper ShmWine -#include "compat/shm.h" +#define SHM_TYPE_NAME shm_impl_winelib +#define SHM_FUN_PREFIX shm_impl_winelib_ +#define SHMXX_TYPE_NAME mem_winelib #include "compat/shm.cpp" + #include "wine-shm.h" #include "compat/library-path.hpp" #include <cstring> |