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

Side by Side Diff: runtime/bin/stdio.h

Issue 3009523002: [dart:io] Remove DART_IO_DISABLED (Closed)
Patch Set: Created 3 years, 3 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 unified diff | Download patch
« no previous file with comments | « runtime/bin/socket_win.cc ('k') | runtime/bin/stdio.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_BIN_STDIO_H_ 5 #ifndef RUNTIME_BIN_STDIO_H_
6 #define RUNTIME_BIN_STDIO_H_ 6 #define RUNTIME_BIN_STDIO_H_
7 7
8 #if defined(DART_IO_DISABLED)
9 #error "stdio.h can only be included on builds with IO enabled"
10 #endif
11
12 #include "bin/builtin.h" 8 #include "bin/builtin.h"
13 #include "bin/utils.h" 9 #include "bin/utils.h"
14 10
15 #include "platform/globals.h" 11 #include "platform/globals.h"
16 12
17 namespace dart { 13 namespace dart {
18 namespace bin { 14 namespace bin {
19 15
20 class Stdin { 16 class Stdin {
21 public: 17 public:
(...skipping 19 matching lines...) Expand all
41 37
42 private: 38 private:
43 DISALLOW_ALLOCATION(); 39 DISALLOW_ALLOCATION();
44 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout); 40 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout);
45 }; 41 };
46 42
47 } // namespace bin 43 } // namespace bin
48 } // namespace dart 44 } // namespace dart
49 45
50 #endif // RUNTIME_BIN_STDIO_H_ 46 #endif // RUNTIME_BIN_STDIO_H_
OLDNEW
« no previous file with comments | « 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