]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/Reliance-Edge/include/redexclude.h
Update version numbers in preparation for new release.
[freertos] / FreeRTOS-Plus / Source / Reliance-Edge / include / redexclude.h
1 /*             ----> DO NOT REMOVE THE FOLLOWING NOTICE <----\r
2 \r
3                    Copyright (c) 2014-2015 Datalight, Inc.\r
4                        All Rights Reserved Worldwide.\r
5 \r
6     This program is free software; you can redistribute it and/or modify\r
7     it under the terms of the GNU General Public License as published by\r
8     the Free Software Foundation; use version 2 of the License.\r
9 \r
10     This program is distributed in the hope that it will be useful,\r
11     but "AS-IS," WITHOUT ANY WARRANTY; without even the implied warranty\r
12     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13     GNU General Public License for more details.\r
14 \r
15     You should have received a copy of the GNU General Public License along\r
16     with this program; if not, write to the Free Software Foundation, Inc.,\r
17     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
18 */\r
19 /*  Businesses and individuals that for commercial or other reasons cannot\r
20     comply with the terms of the GPLv2 license may obtain a commercial license\r
21     before incorporating Reliance Edge into proprietary software for\r
22     distribution in any form.  Visit http://www.datalight.com/reliance-edge for\r
23     more information.\r
24 */\r
25 /** @file\r
26 */\r
27 #ifndef REDEXCLUDE_H\r
28 #define REDEXCLUDE_H\r
29 \r
30 \r
31 #define DELETE_SUPPORTED \\r
32   ( \\r
33        (REDCONF_READ_ONLY == 0) \\r
34     && (    (REDCONF_API_POSIX == 1) \\r
35          && (    (REDCONF_API_POSIX_RMDIR == 1) \\r
36               || (REDCONF_API_POSIX_UNLINK == 1) \\r
37               || ((REDCONF_API_POSIX_RENAME == 1) && (REDCONF_RENAME_ATOMIC == 1)))))\r
38 \r
39 #define TRUNCATE_SUPPORTED \\r
40   ( \\r
41        (REDCONF_READ_ONLY == 0) \\r
42     && (    ((REDCONF_API_POSIX == 1) && (REDCONF_API_POSIX_FTRUNCATE == 1)) \\r
43          || ((REDCONF_API_FSE == 1) && (REDCONF_API_FSE_TRUNCATE == 1))))\r
44 \r
45 #define FORMAT_SUPPORTED \\r
46     ( \\r
47          (REDCONF_READ_ONLY == 0) \\r
48       && (    ((REDCONF_API_POSIX == 1) && (REDCONF_API_POSIX_FORMAT == 1)) \\r
49            || ((REDCONF_API_FSE == 1) && (REDCONF_API_FSE_FORMAT == 1)) \\r
50            || (REDCONF_IMAGE_BUILDER == 1)))\r
51 \r
52 \r
53 #endif\r
54 \r