mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Backported changes from newer sndfile.h to fix non-MSVC compilation
This commit is contained in:
parent
7405f541e8
commit
a7cb7bbb9c
1 changed files with 2 additions and 1 deletions
3
src/sound/thirdparty/sndfile.h
vendored
3
src/sound/thirdparty/sndfile.h
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue