common : fix build min/max (#2845)

* common : try to fix build

* cont : try another fix
This commit is contained in:
Georgi Gerganov 2025-02-27 10:39:13 +02:00 committed by GitHub
parent 7d3da68f79
commit 9f83f67221
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,12 @@
#define STB_VORBIS_HEADER_ONLY
#include "stb_vorbis.c" /* Enables Vorbis decoding. */
#ifdef _WIN32
#ifndef NOMINMAX
#define NOMINMAX
#endif
#endif
#define MA_NO_DEVICE_IO
#define MA_NO_THREADING
#define MA_NO_ENCODING
@ -17,11 +23,11 @@
#include "miniaudio.h"
#include <cmath>
#include <codecvt>
#include <cstring>
#include <fstream>
#include <regex>
#include <locale>
#include <codecvt>
#include <regex>
#include <sstream>
#if defined(_MSC_VER)