mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-10-23 00:11:59 +00:00
ms/va: make ancient gcc < 8 happy
Change-Id: Ib94b9b073a0d2af84ce5791b5f40c63cd7ef9329
This commit is contained in:
@@ -42,6 +42,10 @@
|
||||
#define MULTI_VER_TARGET_ATTR_CLANGONLY
|
||||
#endif
|
||||
|
||||
/* ancient gcc < 8 has no attribute, clang always pretends to be gcc 4 */
|
||||
#if !defined(__clang__) && __GNUC__ < 8
|
||||
#define NO_UBSAN __attribute__((no_sanitize_undefined))
|
||||
#else
|
||||
#if defined(__has_attribute)
|
||||
#if __has_attribute(no_sanitize)
|
||||
#define NO_UBSAN __attribute__((no_sanitize("undefined")))
|
||||
@@ -49,6 +53,7 @@
|
||||
#else
|
||||
#define NO_UBSAN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define SYNC_SEARCH_RANGE 30
|
||||
const int d_OSR(4);
|
||||
|
Reference in New Issue
Block a user