mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
make WREN_API_DLLEXPORT required, fixes statically linked versions
-_-
This commit is contained in:
@ -20,7 +20,7 @@
|
|||||||
WREN_VERSION_PATCH)
|
WREN_VERSION_PATCH)
|
||||||
|
|
||||||
#ifndef WREN_API
|
#ifndef WREN_API
|
||||||
#if defined(_MSC_VER) || defined(WREN_API_DLLEXPORT)
|
#if defined(_MSC_VER) && defined(WREN_API_DLLEXPORT)
|
||||||
#define WREN_API __declspec( dllexport )
|
#define WREN_API __declspec( dllexport )
|
||||||
#else
|
#else
|
||||||
#define WREN_API
|
#define WREN_API
|
||||||
|
|||||||
Reference in New Issue
Block a user