Misc Fixes
- Code protection fixes for v18
- Fix MSVC error with static_assert
- Fix RSA with Cobalt
- Workaround SCP errors with string concatenation
- Use snprintf instead
Merged from https://widevine-internal-review.googlesource.com/183190
Change-Id: If2e9ee3403e313fd8c7dffccca6f8d3f7b0b0afb
This commit is contained in:
committed by
Robert Shih
parent
0a39e71bfb
commit
91c7a8cffe
@@ -12,6 +12,7 @@
|
|||||||
#define LEVEL3_FILE_SYSTEM_H_
|
#define LEVEL3_FILE_SYSTEM_H_
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include "platform.h"
|
||||||
|
|
||||||
namespace wvoec3 {
|
namespace wvoec3 {
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__STDC_VERSION__ >= 201112L)
|
#if defined(_MSC_VER) || (__STDC_VERSION__ >= 201112L)
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#define odk_static_assert static_assert
|
#define odk_static_assert static_assert
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user