src/sndfile.h.in: SF_COUNT_MAX define tweaks

* Drop special condition for VC <= 2003
* Fix SF_COUNT_MAX redefine in config.h
This commit is contained in:
evpobr 2020-09-10 13:16:36 +05:00
parent fe9971fa28
commit 317a16a12f

View File

@ -345,11 +345,8 @@ typedef struct SNDFILE_tag SNDFILE ;
** and the Microsoft compiler.
*/
#if defined (_MSC_VER)
typedef __int64 sf_count_t ;
#define SF_COUNT_MAX 0x7fffffffffffffffi64
#else
typedef @TYPEOF_SF_COUNT_T@ sf_count_t ;
#ifndef SF_COUNT_MAX
#define SF_COUNT_MAX @SF_COUNT_MAX@
#endif