From 55e32dcb1c3dd7e14bda4283250930702605a5ee Mon Sep 17 00:00:00 2001 From: Shawn Carey Date: Wed, 27 Sep 2023 13:54:16 -0400 Subject: [PATCH] use more universal deprecated macro --- includes/ziti/externs.h | 2 +- vcpkg.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/ziti/externs.h b/includes/ziti/externs.h index b3f33b5a..053afd44 100644 --- a/includes/ziti/externs.h +++ b/includes/ziti/externs.h @@ -35,7 +35,7 @@ limitations under the License. # endif #elif __GNUC__ >= 4 # define ZITI_FUNC __attribute__((visibility("default"))) -# define ZITI_DEPRECATED(msg) __attribute_deprecated_msg__(msg) +# define ZITI_DEPRECATED(msg) __attribute((deprecated((msg)))) #else # define ZITI_FUNC /* nothing */ #endif diff --git a/vcpkg.json b/vcpkg.json index 77fe05a1..5558cb2e 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -13,6 +13,7 @@ "description": "Dependencies for testing", "dependencies": [ { + "version>=": "3.3.1", "name": "catch2" } ]