Replace non-standard memory.h with cstring (fixes #3665)

cef_string_wrappers.h uses a non-standard header memory.h, which breaks
the build on UCRT environments. Replace <memory.h> include with <cstring>,
which is guaranteed to contain strlen.
This commit is contained in:
qqqqqqqqq 2024-03-08 17:18:15 +00:00 committed by Marshall Greenblatt
parent 3be7c0098f
commit 947a2e77de
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
#define CEF_INCLUDE_INTERNAL_CEF_STRING_WRAPPERS_H_ #define CEF_INCLUDE_INTERNAL_CEF_STRING_WRAPPERS_H_
#pragma once #pragma once
#include <memory.h> #include <cstring>
#include <string> #include <string>
#include "include/internal/cef_string_types.h" #include "include/internal/cef_string_types.h"