mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-02 00:43:29 +00:00
Include algorithm for std::min/max
This commit is contained in:
parent
1baf355ecd
commit
ce678caab6
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
#include "files.h"
|
#include "files.h"
|
||||||
|
|
||||||
#ifdef HAVE_SNDFILE
|
#ifdef HAVE_SNDFILE
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
sf_count_t SndFileDecoder::file_get_filelen(void *user_data)
|
sf_count_t SndFileDecoder::file_get_filelen(void *user_data)
|
||||||
{
|
{
|
||||||
FileReader *reader = reinterpret_cast<SndFileDecoder*>(user_data)->Reader;
|
FileReader *reader = reinterpret_cast<SndFileDecoder*>(user_data)->Reader;
|
||||||
|
|
Loading…
Reference in a new issue