diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 08:47:42 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 08:49:12 +0100 | 
| commit | 4bbfd73825b1cb6a27e19ea518ad0bed7c806b6c (patch) | |
| tree | 9b86145b9ee6e6cb70cacbfe3a54e96e5b60b966 /opentrack-compat/shm.h | |
| parent | add27db4e53a9e5cf6580378230b57f81d47284e (diff) | |
shm: ignore diagnostic for Wine build
Diffstat (limited to 'opentrack-compat/shm.h')
| -rw-r--r-- | opentrack-compat/shm.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/opentrack-compat/shm.h b/opentrack-compat/shm.h index 53248ac6..c74534e7 100644 --- a/opentrack-compat/shm.h +++ b/opentrack-compat/shm.h @@ -19,6 +19,9 @@  #include <sys/types.h>  #endif +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wattributes" +  #ifdef __GNUC__  #   define COMPAT_GNUC_VISIBILITY __attribute__ ((visibility ("default")))  #else @@ -57,3 +60,5 @@ private:      int fd, size;  #endif  }; + +#pragma GCC diagnostic pop | 
