Don't use the spatial audio channel config as the default
[openal-soft.git] / common / pragmadefs.h
blob9f0a711f7e0e62696dc39353cce56d87e98f90bc
1 #ifndef PRAGMADEFS_H
2 #define PRAGMADEFS_H
4 #if defined(_MSC_VER)
5 #define DIAGNOSTIC_PUSH __pragma(warning(push))
6 #define DIAGNOSTIC_POP __pragma(warning(pop))
7 #define std_pragma(...)
8 #define msc_pragma __pragma
9 #else
10 #if defined(__GNUC__) || defined(__clang__)
11 #define DIAGNOSTIC_PUSH _Pragma("GCC diagnostic push")
12 #define DIAGNOSTIC_POP _Pragma("GCC diagnostic pop")
13 #else
14 #define DIAGNOSTIC_PUSH
15 #define DIAGNOSTIC_POP
16 #endif
17 #define std_pragma _Pragma
18 #define msc_pragma(...)
19 #endif
21 #endif /* PRAGMADEFS_H */