From 2835809e5ebe3bcafb1d65c61050e8faffece63d Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 23 Aug 2024 10:19:01 -0500 Subject: [PATCH] refactor --- repertory/librepertory/include/common.hpp | 5 ----- 1 file changed, 5 deletions(-) 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;