Update misc.h.input

This commit is contained in:
EZ4Stephen 2025-11-15 10:38:07 +04:00 committed by GitHub
parent 04b180cc79
commit f77fb11a56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -242,14 +242,6 @@ inline int64_t abs(int64_t val) throw()
#if defined(LIBPBD_DLL) || defined(PBD_IS_IN_WIN_STATIC_LIB) #if defined(LIBPBD_DLL) || defined(PBD_IS_IN_WIN_STATIC_LIB)
#include <pbd/msvc_pbd.h> #include <pbd/msvc_pbd.h>
#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 #endif
#if defined(BUILDING_LIBARDOUR) || defined(LIBARDOUR_IS_IN_WIN_STATIC_LIB) #if defined(BUILDING_LIBARDOUR) || defined(LIBARDOUR_IS_IN_WIN_STATIC_LIB)
#include <ardour/msvc_libardour.h> #include <ardour/msvc_libardour.h>
@ -259,15 +251,6 @@ inline int64_t abs(int64_t val) throw()
#endif #endif
#endif // __cplusplus #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) #if !defined(LIBPBD_API) || defined(PBD_IS_IN_WIN_STATIC_LIB)
// Emulate some C99 math functions which MSVC itself didn't // Emulate some C99 math functions which MSVC itself didn't
// implement until later in life. // implement until later in life.