From f48c13c7868218128b8d55c45da8b3c8c4f0d96cf1ffd69961c9298939dcf775 Mon Sep 17 00:00:00 2001 From: CupWater Date: Sun, 16 Aug 2026 19:32:08 +0800 Subject: [PATCH] . --- include/pss/definitions.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/include/pss/definitions.h b/include/pss/definitions.h index fdaae85..b54eef2 100644 --- a/include/pss/definitions.h +++ b/include/pss/definitions.h @@ -6,9 +6,21 @@ #endif #if defined(__unix) || defined(__unix__) -# ifdef PSS_DLL_MODE + +#define PSS_DECLSPEC + #elif defined(_WIN32) || defined(__WIN32__) +# ifdef PSS_DLL_MODE +# ifdef PSS_BUILDING_DLL +# define PSS_DECLSPEC __declspec(dllexport) +# else +# define PSS_DECLSPEC __declspec(dllimport) +# endif +# else +# define PSS_DECLSPEC +# endif + #else # error Unknow platform! #endif