Add POLYVOX_DEPRECATED macro to label deprecated classes and functions
This commit is contained in:
parent
54188ce1f9
commit
f2a6fa9a7f
@ -30,7 +30,9 @@ freely, subject to the following restrictions:
|
|||||||
#define POLYVOX_HELPER_IMPORT __declspec(dllimport)
|
#define POLYVOX_HELPER_IMPORT __declspec(dllimport)
|
||||||
#define POLYVOX_HELPER_EXPORT __declspec(dllexport)
|
#define POLYVOX_HELPER_EXPORT __declspec(dllexport)
|
||||||
#define POLYVOX_HELPER_LOCAL
|
#define POLYVOX_HELPER_LOCAL
|
||||||
|
#define POLYVOX_DEPRECATED __declspec(deprecated)
|
||||||
#else
|
#else
|
||||||
|
#define POLYVOX_DEPRECATED __attribute__((deprecated))
|
||||||
#if __GNUC__ >= 4
|
#if __GNUC__ >= 4
|
||||||
#define POLYVOX_HELPER_IMPORT __attribute__ ((visibility("default")))
|
#define POLYVOX_HELPER_IMPORT __attribute__ ((visibility("default")))
|
||||||
#define POLYVOX_HELPER_EXPORT __attribute__ ((visibility("default")))
|
#define POLYVOX_HELPER_EXPORT __attribute__ ((visibility("default")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user