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

Unified Diff: mojo/public/c/system/tests/compile_unittest_pure_cpp.cc

Issue 2229573002: Change the canonical way to include the C macros.h to <mojo/macros.h>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 | « mojo/public/c/system/tests/compile_unittest_pure_c.c ('k') | mojo/public/c/system/tests/macros_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/tests/compile_unittest_pure_cpp.cc
diff --git a/mojo/public/c/system/tests/compile_unittest_pure_cpp.cc b/mojo/public/c/system/tests/compile_unittest_pure_cpp.cc
index ff3351ef8b6842f14c7182c77af3bbaa9c8bd491..23ef94a0458dbb77804d49f44ed0fd2c608a81c8 100644
--- a/mojo/public/c/system/tests/compile_unittest_pure_cpp.cc
+++ b/mojo/public/c/system/tests/compile_unittest_pure_cpp.cc
@@ -6,12 +6,14 @@
// more stringent warnings, in particular with "-Wundef".
// Include all the header files that are meant to be compilable as C.
+#include <mojo/macros.h>
+
+// Include all the header files that are meant to be compilable as C.
#include "mojo/public/c/environment/async_waiter.h"
#include "mojo/public/c/environment/logger.h"
#include "mojo/public/c/system/buffer.h"
#include "mojo/public/c/system/data_pipe.h"
#include "mojo/public/c/system/handle.h"
-#include "mojo/public/c/system/macros.h"
#include "mojo/public/c/system/main.h"
#include "mojo/public/c/system/message_pipe.h"
#include "mojo/public/c/system/result.h"
« no previous file with comments | « mojo/public/c/system/tests/compile_unittest_pure_c.c ('k') | mojo/public/c/system/tests/macros_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698