diff options
author | midipix <writeonce@midipix.org> | 2016-12-13 20:51:58 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-13 20:51:58 -0500 |
commit | 4d42dff642412559827951afad8c913783971edc (patch) | |
tree | 9ef40a6567a0fcbfb5adde4c8203778f7e2db148 | |
parent | f29da709813eb29b6862fbfb5d0bbbd2521acce0 (diff) | |
download | psxtypes-4d42dff642412559827951afad8c913783971edc.tar.bz2 psxtypes-4d42dff642412559827951afad8c913783971edc.tar.xz |
visual studio support: accept arr[] as the last struct element.
-rw-r--r-- | include/psxtypes/compiler/__nt_compiler_msvc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/psxtypes/compiler/__nt_compiler_msvc.h b/include/psxtypes/compiler/__nt_compiler_msvc.h index b872d53..f7015ca 100644 --- a/include/psxtypes/compiler/__nt_compiler_msvc.h +++ b/include/psxtypes/compiler/__nt_compiler_msvc.h @@ -2,6 +2,7 @@ #define _PSXTYPES_NT_COMPILER_MSVC_H_ /* sigh */ +#pragma warning ( disable : 4200 ) /* adjust to the 21st century */ #pragma warning ( disable : 4201 ) /* nameless struct member */ #pragma warning ( disable : 4706 ) /* assignment within conditional */ #pragma warning ( disable : 4820 ) /* struct member padding */ |