Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: build/config/compiler/BUILD.gn

Issue 2072903002: C bindings pt3: Type table definitions and barebones files to get generated code to compile. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: type table -> type descriptor & address other CL comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/public/c/bindings/BUILD.gn » ('j') | mojo/public/c/bindings/lib/type_descriptor.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 5bbf6195df155d1917fbfd9700ec758168992fbe..b958c330487ce4d19f855e1834b6b878ddf2d2e4 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -853,6 +853,8 @@ config("chromium_code") {
"-Wsign-compare",
]
+ cflags_c = [ "-std=c11" ]
+
# In Chromium code, we define __STDC_foo_MACROS in order to get the
# C99 macros on Mac and Linux.
defines = [
« no previous file with comments | « no previous file | mojo/public/c/bindings/BUILD.gn » ('j') | mojo/public/c/bindings/lib/type_descriptor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698