Make dllexport suppressible
This commit is contained in:
@@ -30,7 +30,9 @@
|
|||||||
|
|
||||||
#undef RUBBERBAND_DLLEXPORT
|
#undef RUBBERBAND_DLLEXPORT
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
#ifndef RUBBERBAND_STATIC
|
||||||
#define RUBBERBAND_DLLEXPORT __declspec(dllexport)
|
#define RUBBERBAND_DLLEXPORT __declspec(dllexport)
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define RUBBERBAND_DLLEXPORT
|
#define RUBBERBAND_DLLEXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -35,7 +35,9 @@ extern "C" {
|
|||||||
|
|
||||||
#undef RB_EXTERN
|
#undef RB_EXTERN
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
#ifndef RUBBERBAND_STATIC
|
||||||
#define RB_EXTERN extern __declspec(dllexport)
|
#define RB_EXTERN extern __declspec(dllexport)
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define RB_EXTERN extern
|
#define RB_EXTERN extern
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user