From 0b0c32a1d688389c36f1847edf77af1fd7a2f9d7 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 8 Sep 2025 21:32:00 +0800 Subject: Fix static lib build on win. --- include/cru/toml/Base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/cru/toml/Base.h') diff --git a/include/cru/toml/Base.h b/include/cru/toml/Base.h index de1d558c..76c7ee71 100644 --- a/include/cru/toml/Base.h +++ b/include/cru/toml/Base.h @@ -1,6 +1,6 @@ #pragma once -#ifdef CRU_PLATFORM_WINDOWS +#ifdef CRU_IS_DLL #ifdef CRU_TOML_EXPORT_API #define CRU_TOML_API __declspec(dllexport) #else -- cgit v1.2.3