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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user