This commit is contained in:
CupWater
2026-08-16 19:32:08 +08:00
parent 7e85771108
commit f48c13c786
+13 -1
View File
@@ -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