mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
Fix the build on Windows (#4384)
* Fix errors about Abseil using std::copy The C++11 version of this function can be unsafe if used improperly. Defining this macro is also done in the Abseil build, though they don't export the setting. * Prevent output differences in generated certificate data * Don't regenerate nanopb sources on Windows There's something wrong with the interaction between protoc and the nanopb generator that prevents this from working properly.
This commit is contained in:
3 files changed
+44
-27
No files matched your search
@@ -152,6 +152,11 @@ def source(namespaces, array_name, array_size_name, fileid, filename,
|
||||
Returns:
|
||||
A string containing the C/C++ source file.
|
||||
"""
|
||||
|
||||
if os.name == 'nt':
|
||||
# Force forward slashes on Windows
|
||||
include_name = include_name.replace('\\', '/')
|
||||
|
||||
data = []
|
||||
data.extend([
|
||||
"// Copyright 2019 Google Inc. All Rights Reserved.",
|
||||
|
||||
Reference in new issue
Block a user