diff options
author | Chris Robinson <[email protected]> | 2019-10-07 15:17:45 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-10-07 15:26:35 -0700 |
commit | f8ff4e269bf04aae1c430dbb218b4f4f6605df45 (patch) | |
tree | 9651cc5e5e2a235a20492e7aef810aa3278acdd0 /alc | |
parent | f52eed060718d5af3fe625bc4b8865eaecf56aab (diff) |
Put the pragma defines in a separate header
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index 792ead3e..119067fd 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -86,6 +86,7 @@ #include "logging.h" #include "mastering.h" #include "opthelpers.h" +#include "pragmadefs.h" #include "ringbuffer.h" #include "strutils.h" #include "threads.h" @@ -915,7 +916,7 @@ constexpr ALCint alcEFXMinorVersion = 0; * zero objects here, so silence that. */ DIAGNOSTIC_PUSH -MVSDIAGNOSTIC(warning(disable : 4815)) +msc_pragma(warning(disable : 4815)) al::FlexArray<ALCcontext*> EmptyContextArray{0u}; DIAGNOSTIC_POP |