summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-04-13 13:25:11 +0800
committerGedare Bloom <gedare@rtems.org>2016-04-13 12:03:35 -0400
commitd8d8a9c1a19b62d9c8cba237cea3d92fc2cd92d8 (patch)
treecebcc0a681ccad796851b43017d58d23b01a2525
parenta0c21e019ce0d218fd89b644ee6770d995ed0fdc (diff)
fat_ramdisk: define POSIX keys number
define POSIX KEYS and PAIRS to 16, otherwise met: " pthread_setspecific(shell_current_env_key) "
-rw-r--r--filesystem/fat_ramdisk/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/filesystem/fat_ramdisk/init.c b/filesystem/fat_ramdisk/init.c
index 2fff705..62721f1 100644
--- a/filesystem/fat_ramdisk/init.c
+++ b/filesystem/fat_ramdisk/init.c
@@ -130,6 +130,9 @@ rtems_task Init(
/* configuration */
+#define CONFIGURE_MAXIMUM_POSIX_KEYS 16
+#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS 16
+
#define CONFIGURE_SHELL_COMMANDS_INIT
#define CONFIGURE_SHELL_COMMANDS_ALL
#define CONFIGURE_SHELL_MOUNT_MSDOS