From 499ca6c243b05da176a2d4bd9a2317f0b28afc7f Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Sat, 19 May 2012 11:45:49 +0200 Subject: Introducing FWIK, the userland C++ framework. Far from complete. --- src/include/tce/vfs.h | 3 +-- src/include/types.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') 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 -- cgit v1.2.3