diff --git a/repertory/librepertory/include/common.hpp b/repertory/librepertory/include/common.hpp index 876bde6e..da1530db 100644 --- a/repertory/librepertory/include/common.hpp +++ b/repertory/librepertory/include/common.hpp @@ -62,11 +62,6 @@ inline constexpr const std::string_view REPERTORY_DATA_NAME = "repertory2"; inline constexpr const std::string_view REPERTORY_MIN_REMOTE_VERSION = "2.0.0"; #define REPERTORY_INVALID_HANDLE INVALID_HANDLE_VALUE -#if defined(_WIN32) -#define REPERTORY_API_INVALID_HANDLE static_cast(-1) -#else -#define REPERTORY_API_INVALID_HANDLE REPERTORY_INVALID_HANDLE -#endif inline constexpr const auto NANOS_PER_SECOND = 1000000000L;