only dllexport if we are building dll's

This commit is contained in:
Kevin Trogant 2023-11-23 22:19:02 +01:00
parent 11ec5a0cd2
commit 360bf6cf1c

View File

@ -5,7 +5,7 @@
#include <stddef.h>
#if defined(_WIN32)
#if defined(_WIN32) && !defined(VY_STATIC_LIB)
#define VY_DLLEXPORT __declspec(dllexport)
#else
#define VY_DLLEXPORT