From 8560da0e70f246202758b167f65a1a0fe3523e54 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Fri, 4 Apr 2025 23:01:55 +0300 Subject: [PATCH] define __cglm__ to publish cglm availability universally in this way we wont need to check arbitrary header check e.g. cglm_common_h --- include/cglm/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/cglm/common.h b/include/cglm/common.h index 11588cf..1af754d 100644 --- a/include/cglm/common.h +++ b/include/cglm/common.h @@ -8,6 +8,8 @@ #ifndef cglm_common_h #define cglm_common_h +#define __cglm__ 1 + #ifndef _USE_MATH_DEFINES # define _USE_MATH_DEFINES /* for windows */ #endif