From 20543bdc744a6c826570a381ce5d1d3d98c9284a Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Mon, 30 Dec 2024 13:11:32 +1300 Subject: [PATCH] Fix a typof of #if and #ifdef" --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index 91d5ae4..02b84aa 100644 --- a/clay.h +++ b/clay.h @@ -1464,7 +1464,7 @@ Clay__BoolArray Clay__treeNodeVisited; Clay__CharArray Clay__dynamicStringData; Clay__DebugElementDataArray Clay__debugElementData; -#if CLAY_WASM +#ifdef CLAY_WASM __attribute__((import_module("clay"), import_name("measureTextFunction"))) Clay_Dimensions Clay__MeasureText(Clay_String *text, Clay_TextElementConfig *config); __attribute__((import_module("clay"), import_name("queryScrollOffsetFunction"))) Clay_Vector2 Clay__QueryScrollOffset(uint32_t elementId); #else