From 9af9826fca302179da504298941a3c367dabac95 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 6 Feb 2009 12:35:01 +0000 Subject: [PATCH] Fixed value of _POSIX_VDISABLE. cc_t is unsigned in Haiku. ATM we don't support _POSIX_VDISABLE at all. It's even questionable whether the value (unsigned char)-2 is a good choice. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29137 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/unistd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/posix/unistd.h b/headers/posix/unistd.h index 7cbd699e00..ad47b68fd7 100644 --- a/headers/posix/unistd.h +++ b/headers/posix/unistd.h @@ -34,7 +34,8 @@ #define _POSIX_JOB_CONTROL 1 #define _POSIX_NO_TRUNC 0 #define _POSIX_SAVED_IDS 1 -#define _POSIX_VDISABLE ((char) - 2) /* TODO: Check this! */ +#define _POSIX_VDISABLE ((unsigned char)-2) + /* TODO: Check this! */ #define _POSIX_SEMAPHORES (200112L) #define _POSIX_THREADS (200112L)