From e266059109d5f75ddc6f1228bc7d922bf0fecdb4 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Mon, 19 May 2025 16:40:42 +0200 Subject: [PATCH] fix occ version check macro --- libsrc/occ/occ_utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/occ/occ_utils.hpp b/libsrc/occ/occ_utils.hpp index 3277e170..89e7b81c 100644 --- a/libsrc/occ/occ_utils.hpp +++ b/libsrc/occ/occ_utils.hpp @@ -2,8 +2,8 @@ #define FILE_OCC_UTILS_INCLUDED #define NETGEN_OCC_VERSION_AT_LEAST(MAYOR, MINOR) \ - MAYOR > OCC_VERSION_MAYOR || \ - (MAYOR == OCC_VERSION_MAYOR && MINOR >= OCC_VERSION_MINOR) + OCC_VERSION_MAYOR > MAYOR || \ + (OCC_VERSION_MAYOR == MAYOR && OCC_VERSION_MINOR >= MINOR) #define NETGEN_OCC_VERSION_AT_LEAST_MAYOR(MAYOR) \ NETGEN_OCC_VERSION_AT_LEAST(MAYOR, 0)