diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 15:25:19 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-23 21:31:16 +0200 |
commit | fadd2f3475aed347d2a06a08cc9c2e7fe53fbba9 (patch) | |
tree | 22ffefd82e1ff810ec89a26340a3a2d37a4c1f7c /ftnoir_protocol_wine/opentrack-wrapper-wine-posix.cxx | |
parent | 9b3c04d1187ceeb83e7e1eead0714fd4578d07d7 (diff) |
fix Wine bitrot rather than only saying so
name mangling has issues so partial revert
Diffstat (limited to 'ftnoir_protocol_wine/opentrack-wrapper-wine-posix.cxx')
-rw-r--r-- | ftnoir_protocol_wine/opentrack-wrapper-wine-posix.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ftnoir_protocol_wine/opentrack-wrapper-wine-posix.cxx b/ftnoir_protocol_wine/opentrack-wrapper-wine-posix.cxx index ea01ff03..010c4440 100644 --- a/ftnoir_protocol_wine/opentrack-wrapper-wine-posix.cxx +++ b/ftnoir_protocol_wine/opentrack-wrapper-wine-posix.cxx @@ -1,12 +1,8 @@ #define OPENTRACK_COMPAT_BUNDLED +#ifdef _WIN32 +# undef _WIN32 +#endif + #define PortableLockedShm ShmPosix -#undef _WIN32 -#include "ftnoir_protocol_ft/fttypes.h" -#include "wine-shm.h" #include "compat/compat.h" #include "compat/compat.cpp" - -ptr<BasePortableLockedShm> make_shm_posix() -{ - return std::make_shared<ShmPosix>(FREETRACK_HEAP, FREETRACK_MUTEX, sizeof(FTHeap)); -} |