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
1 changed files with 2 additions and 1 deletions

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