Fix export symbol definitions
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
#ifdef _MSC_VER
|
||||
#ifndef RUBBERBAND_STATIC
|
||||
#define RUBBERBAND_DLLEXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define RUBBERBAND_DLLEXPORT
|
||||
#endif
|
||||
#else
|
||||
#define RUBBERBAND_DLLEXPORT
|
||||
|
||||
@@ -37,6 +37,8 @@ extern "C" {
|
||||
#ifdef _MSC_VER
|
||||
#ifndef RUBBERBAND_STATIC
|
||||
#define RB_EXTERN extern __declspec(dllexport)
|
||||
#else
|
||||
#define RB_EXTERN extern
|
||||
#endif
|
||||
#else
|
||||
#define RB_EXTERN extern
|
||||
|
||||
Reference in New Issue
Block a user