Fix MSVC dll building

This commit is contained in:
2026-01-29 20:17:04 +01:00
parent 1ec06a26cc
commit 683c226ce0
7 changed files with 21 additions and 15 deletions

View File

@@ -24,7 +24,7 @@ SOFTWARE.
*/
/** Generated with ppam */
#ifndef PD_BUILD_STATIC
#ifdef _WIN32 // Windows (MSVC Tested)
#ifdef PD_BUILD_SHARED
#define PD_API __declspec(dllexport)
@@ -49,3 +49,6 @@ SOFTWARE.
#else
#define PD_API
#endif
#else
#define PD_API
#endif