From f77fb11a5642f4ceb7bbdbae2fce423ba33ab88f Mon Sep 17 00:00:00 2001 From: EZ4Stephen Date: Sat, 15 Nov 2025 10:38:07 +0400 Subject: [PATCH] Update misc.h.input --- msvc_extra_headers/ardourext/misc.h.input | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/msvc_extra_headers/ardourext/misc.h.input b/msvc_extra_headers/ardourext/misc.h.input index 497224a556..f20c70607f 100644 --- a/msvc_extra_headers/ardourext/misc.h.input +++ b/msvc_extra_headers/ardourext/misc.h.input @@ -242,14 +242,6 @@ inline int64_t abs(int64_t val) throw() #if defined(LIBPBD_DLL) || defined(PBD_IS_IN_WIN_STATIC_LIB) #include -#ifdef LIBPBD_DLL -#define DEFAULT_COMPARISONS_DEFINED -#define DECLARE_DEFAULT_COMPARISONS(Type) \ - LIBPBD_API bool operator > (const Type& lhs, const Type& rhs); \ - LIBPBD_API bool operator < (const Type& lhs, const Type& rhs); \ - LIBPBD_API bool operator != (const Type& lhs, const Type& rhs); \ - LIBPBD_API bool operator == (const Type& lhs, const Type& rhs); -#endif #endif #if defined(BUILDING_LIBARDOUR) || defined(LIBARDOUR_IS_IN_WIN_STATIC_LIB) #include @@ -259,15 +251,6 @@ inline int64_t abs(int64_t val) throw() #endif #endif // __cplusplus -#ifndef DEFAULT_COMPARISONS_DEFINED -#define DEFAULT_COMPARISONS_DEFINED -#define DECLARE_DEFAULT_COMPARISONS(Type) \ - extern bool operator > (const Type& lhs, const Type& rhs); \ - extern bool operator < (const Type& lhs, const Type& rhs); \ - extern bool operator != (const Type& lhs, const Type& rhs); \ - extern bool operator == (const Type& lhs, const Type& rhs); -#endif - #if !defined(LIBPBD_API) || defined(PBD_IS_IN_WIN_STATIC_LIB) // Emulate some C99 math functions which MSVC itself didn't // implement until later in life.