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

Side by Side 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, 8 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
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 BIN_STDIO_H_ 5 #ifndef BIN_STDIO_H_
6 #define BIN_STDIO_H_ 6 #define 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
8 #include "bin/builtin.h" 12 #include "bin/builtin.h"
9 #include "bin/utils.h" 13 #include "bin/utils.h"
10 14
11 #include "platform/globals.h" 15 #include "platform/globals.h"
12 16
13 namespace dart { 17 namespace dart {
14 namespace bin { 18 namespace bin {
15 19
16 class Stdin { 20 class Stdin {
17 public: 21 public:
(...skipping 17 matching lines...) Expand all
35 39
36 private: 40 private:
37 DISALLOW_ALLOCATION(); 41 DISALLOW_ALLOCATION();
38 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout); 42 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout);
39 }; 43 };
40 44
41 } // namespace bin 45 } // namespace bin
42 } // namespace dart 46 } // namespace dart
43 47
44 #endif // BIN_STDIO_H_ 48 #endif // BIN_STDIO_H_
OLDNEW
« 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