mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +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
|
||||
|
||||
|
||||
#if defined(__has_cpp_attribute) && __has_cpp_attribute(deprecated)
|
||||
#define CUTTER_DEPRECATED(msg) [[deprecated(msg)]]
|
||||
#else
|
||||
#if defined(__has_cpp_attribute)
|
||||
#if __has_cpp_attribute(deprecated)
|
||||
#define CUTTER_DEPRECATED(msg) [[deprecated(msg)]]
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(CUTTER_DEPRECATED)
|
||||
#define CUTTER_DEPRECATED(msg)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user