diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-08-01 14:07:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-08-01 14:07:00 +0200 |
commit | 7d898e638abad8267420f8c0d827d21f716b8977 (patch) | |
tree | 897a31950ba0a345f05162e4e8616f26e1b69446 /proto-wine | |
parent | b930dd608bf95ecc3f89007313ba8ab8b1935ee5 (diff) |
fix clang warnings
Diffstat (limited to 'proto-wine')
-rw-r--r-- | proto-wine/wine-shm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/proto-wine/wine-shm.h b/proto-wine/wine-shm.h index a717dcc8..536f647f 100644 --- a/proto-wine/wine-shm.h +++ b/proto-wine/wine-shm.h @@ -3,9 +3,18 @@ #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>; |