...

Dependents:   2doejemplo Labo_TRSE_Drone

Fork of mbed by mbed official

Revision:
11:1c1ebd0324fa
Parent:
8:00a04e5cd407
Child:
27:7110ebee3484
--- a/Stream.h	Thu May 14 14:44:00 2009 +0000
+++ b/Stream.h	Fri Aug 28 12:10:11 2009 +0000
@@ -1,11 +1,13 @@
 /* mbed Microcontroller Library - Stream
- * Copyright (c) 2007-2008, sford
- */
-
+ * Copyright (c) 2007-2009 ARM Limited. All rights reserved.
+ * sford
+ */ 
+ 
 #ifndef MBED_STREAM_H
 #define MBED_STREAM_H
 
 #include "FileLike.h"
+#include "platform.h"
 #include <cstdio>
 
 namespace mbed {
@@ -37,8 +39,10 @@
     int scanf(const char* format, ...);
     
     operator std::FILE*() { return _file; }
-    
+
+#ifdef MBED_RPC
     virtual const struct rpc_method *get_rpc_methods();
+#endif
 
 protected: