From aa066bdd4622d4f6824fee864f6be6806813f04d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 30 Oct 2015 07:37:41 +0100 Subject: move to subdirectory-based build system Closes #224 --- protocol-wine/wine-shm.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 protocol-wine/wine-shm.h (limited to 'protocol-wine/wine-shm.h') diff --git a/protocol-wine/wine-shm.h b/protocol-wine/wine-shm.h new file mode 100644 index 00000000..c7e29abb --- /dev/null +++ b/protocol-wine/wine-shm.h @@ -0,0 +1,20 @@ +#pragma once + +#define WINE_SHM_NAME "facetracknoir-wine-shm" +#define WINE_MTX_NAME "facetracknoir-wine-mtx" + +// OSX sdk 10.8 build error otherwise +#ifdef _LIBCPP_MSVCRT +# undef _LIBCPP_MSVCRT +#endif + +#include + +template using ptr = std::shared_ptr; + +struct WineSHM { + double data[6]; + int gameid, gameid2; + unsigned char table[8]; + bool stop; +}; -- cgit v1.2.3