1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-24 06:10:09 +01:00

lv2: Update for VS2015+

This commit is contained in:
Henric Jungheim
2017-06-10 02:51:37 -07:00
parent 659f8cbc6f
commit 8bf2071fdd
2 changed files with 10 additions and 6 deletions

View File

@@ -32,9 +32,11 @@ extern "C" {
# define dlclose(lib) FreeLibrary((HMODULE)lib)
# ifdef _MSC_VER
# define __func__ __FUNCTION__
# define INFINITY DBL_MAX + DBL_MAX
# define NAN INFINITY - INFINITY
# define snprintf _snprintf
# if _MSC_VER < 1800
# define INFINITY DBL_MAX + DBL_MAX
# define NAN INFINITY - INFINITY
# define snprintf _snprintf
# endif
# endif
static inline char* dlerror(void) { return "Unknown error"; }
#else