mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-26 05:49:49 +00:00
common : fix build min/max (#2845)
* common : try to fix build * cont : try another fix
This commit is contained in:
parent
7d3da68f79
commit
9f83f67221
@ -7,6 +7,12 @@
|
|||||||
#define STB_VORBIS_HEADER_ONLY
|
#define STB_VORBIS_HEADER_ONLY
|
||||||
#include "stb_vorbis.c" /* Enables Vorbis decoding. */
|
#include "stb_vorbis.c" /* Enables Vorbis decoding. */
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#ifndef NOMINMAX
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MA_NO_DEVICE_IO
|
#define MA_NO_DEVICE_IO
|
||||||
#define MA_NO_THREADING
|
#define MA_NO_THREADING
|
||||||
#define MA_NO_ENCODING
|
#define MA_NO_ENCODING
|
||||||
@ -17,11 +23,11 @@
|
|||||||
#include "miniaudio.h"
|
#include "miniaudio.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <codecvt>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <regex>
|
|
||||||
#include <locale>
|
#include <locale>
|
||||||
#include <codecvt>
|
#include <regex>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user