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

Unified Diff: runtime/bin/stdio.h

Issue 1839463002: Really remove io support when dart:io is unsupported. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
Index: runtime/bin/stdio.h
diff --git a/runtime/bin/stdio.h b/runtime/bin/stdio.h
index afe4637d762879b3e5df44e5da70f137697f33fa..55884dfade16e41eaa96699b72b31fd10fa62789 100644
--- a/runtime/bin/stdio.h
+++ b/runtime/bin/stdio.h
@@ -5,6 +5,10 @@
#ifndef BIN_STDIO_H_
#define BIN_STDIO_H_
+#if defined(DART_IO_DISABLED)
+#error "stdio.h can only be included on builds with IO enabled"
+#endif
+
#include "bin/builtin.h"
#include "bin/utils.h"
« runtime/bin/socket.h ('K') | « runtime/bin/socket_win.cc ('k') | runtime/bin/stdio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698