Merge of http://go/wvgerrit/93404 This CL updates the Widevine CDM to support OEMCrypto v16.1 Test: Tested in 16.2 CL Bug: 141247171 Change-Id: I69bd993500f6fb63bf6010c8b0250dc7acc3d71b
25 lines
582 B
C
25 lines
582 B
C
/* 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 WIDEVINE_ODK_SRC_ODK_ASSERT_H_
|
|
#define WIDEVINE_ODK_SRC_ODK_ASSERT_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if (__STDC_VERSION__ >= 201112L)
|
|
# include <assert.h>
|
|
# 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 /* WIDEVINE_ODK_SRC_ODK_ASSERT_H_ */
|