summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/wine-shm.h
blob: a717dcc83dcc8df31aca80e86055a1e03cd381f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#define WINE_SHM_NAME "facetracknoir-wine-shm"
#define WINE_MTX_NAME "facetracknoir-wine-mtx"

// OSX sdk 10.8 build error otherwise
#undef _LIBCPP_MSVCRT

#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;
};