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

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