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

Unified Diff: runtime/bin/filter.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/filter.h
diff --git a/runtime/bin/filter.h b/runtime/bin/filter.h
index 889326f4dcb89da944f579aa4d1b0f7d983224fd..28c229f378b37ddc73088d4396f090ac9f29dfea 100644
--- a/runtime/bin/filter.h
+++ b/runtime/bin/filter.h
@@ -5,6 +5,10 @@
#ifndef BIN_FILTER_H_
#define BIN_FILTER_H_
+#if defined(DART_IO_DISABLED)
+#error "filter.h can only be included on builds with IO enabled"
+#endif
+
#include "bin/builtin.h"
#include "bin/utils.h"
« no previous file with comments | « runtime/bin/file_unsupported.cc ('k') | runtime/bin/filter.cc » ('j') | runtime/bin/socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698