Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: drivers/FileBase.h
- Revision:
- 160:d5399cc887bb
- Parent:
- 149:156823d33999
--- a/drivers/FileBase.h Tue Feb 28 17:13:35 2017 +0000
+++ b/drivers/FileBase.h Tue Mar 14 16:40:56 2017 +0000
@@ -21,26 +21,6 @@
#include <cstdio>
#include <cstring>
-#if defined(__ARMCC_VERSION) || defined(__ICCARM__)
-# define O_RDONLY 0
-# define O_WRONLY 1
-# define O_RDWR 2
-# define O_CREAT 0x0200
-# define O_TRUNC 0x0400
-# define O_APPEND 0x0008
-
-# define NAME_MAX 255
-
-typedef int mode_t;
-typedef int ssize_t;
-typedef long off_t;
-
-#else
-# include <sys/fcntl.h>
-# include <sys/types.h>
-# include <sys/syslimits.h>
-#endif
-
#include "platform/platform.h"
#include "platform/SingletonPtr.h"
#include "platform/PlatformMutex.h"
@@ -57,7 +37,6 @@
class FileBase {
public:
FileBase(const char *name, PathType t);
-
virtual ~FileBase();
const char* getName(void);
