aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/missing
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/wince/missing')
-rw-r--r--backends/platform/wince/missing/gcc/direct.h1
-rw-r--r--backends/platform/wince/missing/gcc/errno.h1
-rw-r--r--backends/platform/wince/missing/sys/stat.h6
-rw-r--r--backends/platform/wince/missing/time.h2
4 files changed, 8 insertions, 2 deletions
diff --git a/backends/platform/wince/missing/gcc/direct.h b/backends/platform/wince/missing/gcc/direct.h
new file mode 100644
index 0000000000..7ee9f5e5ba
--- /dev/null
+++ b/backends/platform/wince/missing/gcc/direct.h
@@ -0,0 +1 @@
+/* Header is not present in Windows CE SDK */
diff --git a/backends/platform/wince/missing/gcc/errno.h b/backends/platform/wince/missing/gcc/errno.h
new file mode 100644
index 0000000000..7ee9f5e5ba
--- /dev/null
+++ b/backends/platform/wince/missing/gcc/errno.h
@@ -0,0 +1 @@
+/* Header is not present in Windows CE SDK */
diff --git a/backends/platform/wince/missing/sys/stat.h b/backends/platform/wince/missing/sys/stat.h
index d9eef1318d..8f5bda59e1 100644
--- a/backends/platform/wince/missing/sys/stat.h
+++ b/backends/platform/wince/missing/sys/stat.h
@@ -2,6 +2,7 @@
#include <sys/types.h>
+#ifndef __MINGW32CE__
struct stat {
_dev_t st_dev;
_ino_t st_ino;
@@ -16,8 +17,9 @@ struct stat {
time_t st_ctime;
};
+int stat(const char *, struct stat *);
+
+#endif
#define _S_IFDIR 0040000 /* directory */
#define S_IFDIR _S_IFDIR
-
-int stat(const char *, struct stat *);
diff --git a/backends/platform/wince/missing/time.h b/backends/platform/wince/missing/time.h
index 3925b18312..0fd241bdc5 100644
--- a/backends/platform/wince/missing/time.h
+++ b/backends/platform/wince/missing/time.h
@@ -5,6 +5,7 @@
#include <stdlib.h>
+#ifndef __MINGW32CE__
struct tm
{
short tm_year;
@@ -28,3 +29,4 @@ EXT_C struct tm* localtime(time_t* dummy);
unsigned int clock();
#endif
+#endif