mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Fix build on centos7 gcc4.8 (#2492)
This commit is contained in:
parent
f9bde4a2ff
commit
b07bffc5fe
@ -62,9 +62,12 @@ inline QString RHexString(RVA size)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(__has_cpp_attribute) && __has_cpp_attribute(deprecated)
|
#if defined(__has_cpp_attribute)
|
||||||
#define CUTTER_DEPRECATED(msg) [[deprecated(msg)]]
|
#if __has_cpp_attribute(deprecated)
|
||||||
#else
|
#define CUTTER_DEPRECATED(msg) [[deprecated(msg)]]
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if !defined(CUTTER_DEPRECATED)
|
||||||
#define CUTTER_DEPRECATED(msg)
|
#define CUTTER_DEPRECATED(msg)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user