[Win32] Fix for MSVC

* A `_MSCVER` ha never been a built-in for the MSVC compiler.
* Simply use the same `SF_COUNT_MAX` for all MSVC compilers.
This commit is contained in:
Gisle Vanem 2020-09-10 09:12:07 +02:00 committed by evpobr
parent 60ea132bf3
commit fe9971fa28

View File

@ -345,7 +345,7 @@ typedef struct SNDFILE_tag SNDFILE ;
** and the Microsoft compiler.
*/
#if (defined (_MSCVER) || defined (_MSC_VER) && (_MSC_VER < 1310))
#if defined (_MSC_VER)
typedef __int64 sf_count_t ;
#define SF_COUNT_MAX 0x7fffffffffffffffi64
#else