/* * Copyright 2019 Google LLC. All Rights Reserved. This file and proprietary * source code may only be used and distributed under the Widevine Master * License Agreement. */ #ifndef ODK_ASSERT_H_ #define ODK_ASSERT_H_ #ifdef __cplusplus extern "C" { #endif #if (__STDC_VERSION__ >= 201112L) # include # define odk_static_assert static_assert #else # define odk_static_assert(msg, e) \ enum { odk_static_assert = 1 / (!!((msg) && (e))) }; #endif #ifdef __cplusplus } #endif #endif /* ODK_ASSERT_H_ */