Update ODK Library to 16.3
Merge from Widevine repo of http://go/wvgerrit/101130 https://cr/314253512 ODK Library: roll version number to 16.3 https://cr/314253425 ODK Library: Accept release request as renewal request To support forward compatibility, the v16 server should parse a release request as a renewal request. https://cr/314213725 ODK: Accept larger message sizes The ODK should accept a message size that is larger than the current API requires. This allows for future API versions to append fields to a message that current the current license SDK will ignore. https://cr/313962712 ODK: accept messages with future API version numbers This CL updates the ODK parse functions to accept future versions of the message. This will allow a v16 server to talk to a v17 device. https://cr/313814938 ODK Version String Add an automatically generated version string to odk_structs.h Bug: 157030231 Bug: 157512150 Bug: 157822248 Bug: 157512322 Test: unit tests on taimen Change-Id: I346f73c41bc984fe17856d3b61cd08cf92b39919
This commit is contained in:
@@ -10,11 +10,11 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#if (__STDC_VERSION__ >= 201112L)
|
||||
# include <assert.h>
|
||||
# define odk_static_assert static_assert
|
||||
#include <assert.h>
|
||||
#define odk_static_assert static_assert
|
||||
#else
|
||||
# define odk_static_assert(msg, e) \
|
||||
enum { odk_static_assert = 1 / (!!((msg) && (e))) };
|
||||
#define odk_static_assert(msg, e) \
|
||||
enum { odk_static_assert = 1 / (!!((msg) && (e))) };
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user