Backported changes from newer sndfile.h to fix non-MSVC compilation

This commit is contained in:
alexey.lysiuk 2017-04-17 18:42:35 +03:00
parent 7405f541e8
commit a7cb7bbb9c

View file

@ -30,6 +30,7 @@
#define SNDFILE_1
#include <stdio.h>
#include <stdint.h>
#include <sys/types.h>
#ifdef __cplusplus
@ -315,7 +316,7 @@ typedef struct SNDFILE_tag SNDFILE ;
typedef __int64 sf_count_t ;
#define SF_COUNT_MAX 0x7fffffffffffffffi64
#else
typedef __int64 sf_count_t ;
typedef int64_t sf_count_t ;
#define SF_COUNT_MAX 0x7FFFFFFFFFFFFFFFLL
#endif