blob: 536f647f668db1a39c6d30998b3f72d8051774e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#define WINE_SHM_NAME "facetracknoir-wine-shm"
#define WINE_MTX_NAME "facetracknoir-wine-mtx"
#ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
// OSX sdk 10.8 build error otherwise
#undef _LIBCPP_MSVCRT
#ifdef __clang__
# pragma clang diagnostic pop
#endif
#include <memory>
template<typename t> using ptr = std::shared_ptr<t>;
struct WineSHM {
double data[6];
int gameid, gameid2;
unsigned char table[8];
bool stop;
};
|