...

Dependents:   2doejemplo Labo_TRSE_Drone

Fork of mbed by mbed official

Revision:
55:d722ed6a4237
Parent:
54:71b101360fb9
Child:
59:0883845fe643
--- a/FileBase.h	Tue Jan 08 12:46:36 2013 +0000
+++ b/FileBase.h	Wed Jan 16 12:56:34 2013 +0000
@@ -26,7 +26,7 @@
 
 #include <stdio.h>
 
-#ifdef __ARMCC_VERSION
+#if defined(__ARMCC_VERSION) || defined(__ICCARM__)
 #    define O_RDONLY 0
 #    define O_WRONLY 1
 #    define O_RDWR   2
@@ -58,19 +58,19 @@
 class FileBase {
 public:
     FileBase(const char *name, PathType t);
-    
+
     virtual ~FileBase();
-    
+
     const char* getName(void);
     PathType    getPathType(void);
-    
+
     static FileBase *lookup(const char *name, unsigned int len);
-    
+
     static FileBase *get(int n);
 
-protected: 
+protected:
     static FileBase *_head;
-    
+
     FileBase   *_next;
     const char *_name;
     PathType    _path_type;