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