Remove CPPTRACE_NO_EXPORT_ATTR / CPPTRACE_DEPRECATED_ATTR as they aren't used
This commit is contained in:
parent
9a7c45bda7
commit
58d09dd010
@ -13,13 +13,9 @@
|
||||
#ifdef _WIN32
|
||||
#define CPPTRACE_EXPORT_ATTR __declspec(dllexport)
|
||||
#define CPPTRACE_IMPORT_ATTR __declspec(dllimport)
|
||||
#define CPPTRACE_NO_EXPORT_ATTR
|
||||
#define CPPTRACE_DEPRECATED_ATTR __declspec(deprecated)
|
||||
#else
|
||||
#define CPPTRACE_EXPORT_ATTR __attribute__((visibility("default")))
|
||||
#define CPPTRACE_IMPORT_ATTR __attribute__((visibility("default")))
|
||||
#define CPPTRACE_NO_EXPORT_ATTR __attribute__((visibility("hidden")))
|
||||
#define CPPTRACE_DEPRECATE_ATTR __attribute__((__deprecated__))
|
||||
#endif
|
||||
|
||||
#ifdef CPPTRACE_STATIC_DEFINE
|
||||
|
||||
@ -8,13 +8,9 @@
|
||||
#ifdef _WIN32
|
||||
#define CPPTRACE_EXPORT_ATTR __declspec(dllexport)
|
||||
#define CPPTRACE_IMPORT_ATTR __declspec(dllimport)
|
||||
#define CPPTRACE_NO_EXPORT_ATTR
|
||||
#define CPPTRACE_DEPRECATED_ATTR __declspec(deprecated)
|
||||
#else
|
||||
#define CPPTRACE_EXPORT_ATTR __attribute__((visibility("default")))
|
||||
#define CPPTRACE_IMPORT_ATTR __attribute__((visibility("default")))
|
||||
#define CPPTRACE_NO_EXPORT_ATTR __attribute__((visibility("hidden")))
|
||||
#define CPPTRACE_DEPRECATE_ATTR __attribute__((__deprecated__))
|
||||
#endif
|
||||
|
||||
#ifdef CPPTRACE_STATIC_DEFINE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user