summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/wine-shm.h
blob: c7e29abb3619c3c2d256d3a939a57b28c486048b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 <memory>

template<typename t> using ptr = std::shared_ptr<t>;

struct WineSHM {
    double data[6];
    int gameid, gameid2;
    unsigned char table[8];
    bool stop;
};