From a7cb7bbb9cbe9cc2a98c94e504c3ac44706adbb4 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 17 Apr 2017 18:42:35 +0300 Subject: [PATCH] Backported changes from newer sndfile.h to fix non-MSVC compilation --- src/sound/thirdparty/sndfile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sound/thirdparty/sndfile.h b/src/sound/thirdparty/sndfile.h index 49564e83f1..b5aa57fa76 100644 --- a/src/sound/thirdparty/sndfile.h +++ b/src/sound/thirdparty/sndfile.h @@ -30,6 +30,7 @@ #define SNDFILE_1 #include +#include #include #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