We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bf9791 + 2d01356 commit 2fb65e7Copy full SHA for 2fb65e7
platform/mbed_retarget.h
@@ -50,15 +50,21 @@ typedef int mode_t; ///< Mode for opening files
50
#if __cplusplus
51
namespace mbed { class Dir; }
52
typedef mbed::Dir DIR;
53
+#else
54
+typedef struct Dir DIR;
55
+#endif
56
57
+#if __cplusplus
58
extern "C" {
59
60
DIR *opendir(const char*);
61
struct dirent *readdir(DIR *);
62
int closedir(DIR*);
63
void rewinddir(DIR*);
64
long telldir(DIR*);
65
void seekdir(DIR*, long);
66
int mkdir(const char *name, mode_t n);
67
68
};
69
#endif
70
0 commit comments