summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-19 11:45:49 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-19 11:45:49 +0200
commit499ca6c243b05da176a2d4bd9a2317f0b28afc7f (patch)
treef55ff788632b017ab8de83b71ad02b0998e1dda5 /src/include
parent7b466345af0d3a7dc5622617ce443a90c64e34a4 (diff)
downloadTCE-499ca6c243b05da176a2d4bd9a2317f0b28afc7f.tar.gz
TCE-499ca6c243b05da176a2d4bd9a2317f0b28afc7f.zip
Introducing FWIK, the userland C++ framework. Far from complete.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/tce/vfs.h3
-rw-r--r--src/include/types.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/tce/vfs.h b/src/include/tce/vfs.h
index 00c80d7..329bd8b 100644
--- a/src/include/tce/vfs.h
+++ b/src/include/tce/vfs.h
@@ -16,10 +16,9 @@ typedef struct _file_info {
// file open flags
#define FM_READ 0x00000001
#define FM_WRITE 0x00000002
-#define FM_APPEND 0x00000004
+#define FM_DELETE 0x00000004
#define FM_TRUNC 0x00000008
#define FM_CREATE 0x00000010
-#define FM_DELETE 0x00000020
// link modes
#define LM_SYMLINK 1
diff --git a/src/include/types.h b/src/include/types.h
index e7c1a35..373a3b5 100644
--- a/src/include/types.h
+++ b/src/include/types.h
@@ -11,6 +11,7 @@ typedef short int16_t;
typedef char int8_t;
typedef long unsigned int size_t;
+typedef long int ptrdiff_t;
#define NULL 0