namespace: use osmo_static_assert() instead of static_assert()
This commit is contained in:
parent
2d97000f98
commit
d35a3079df
|
@ -14,7 +14,7 @@ AC_PROG_CC
|
|||
AC_PROG_INSTALL
|
||||
AC_PROG_RANLIB
|
||||
|
||||
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.2.0)
|
||||
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
|
||||
|
||||
# The following test is taken from WebKit's webkit.m4
|
||||
saved_CFLAGS="$CFLAGS"
|
||||
|
|
|
@ -1366,7 +1366,7 @@ int sccp_set_read(const struct sockaddr_sccp *sock,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static_assert(sizeof(struct sccp_source_reference) <= sizeof(uint32_t), enough_space);
|
||||
osmo_static_assert(sizeof(struct sccp_source_reference) <= sizeof(uint32_t), enough_space);
|
||||
|
||||
uint32_t sccp_src_ref_to_int(struct sccp_source_reference *ref)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue