namespace: use osmo_static_assert() instead of static_assert()

This commit is contained in:
Harald Welte 2011-05-08 08:51:28 +02:00
parent 2d97000f98
commit d35a3079df
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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)
{