haiku/headers/posix
Timothy Gu d1dc9cf655 stdint.h: use correct type for INT64_MAX (#11647)
int64_t is signed. Although it does not make a difference by itself, because
INT64_MAX is still a valid number for uint64_t (UL), the later INT64_MIN
declaration depends on INT64_MAX, and therefore got implicitly casted to
unsigned type.

This fixes the following program on a x86_64 system:

	#include <stdint.h>

	int main() {
		int64_t test = 5;
		if (test < INT64_MIN)
			return 1;
		return 0;
	}

This is a regression since commit 1d13a609 ("stdint.h: define [U]INT64[MAX|MIN]
with [U]L on x86_64").

Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2014-12-20 10:06:21 +01:00
..
arch ARM: remove #warning from public header file 2013-10-28 22:04:00 +01:00
arpa Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
compat/sys Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
net add a constant for 10G base T ethernet. 2013-09-17 14:40:21 +02:00
netinet Revert unrelated part of 17aa359b5d. 2014-07-11 22:23:21 +02:00
netinet6 Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
sys Revert "Add sys/ucontext.h" 2014-08-09 20:18:05 +02:00
alloca.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
assert.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
bsd_mem.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
ctype.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
dirent.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
div_t.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
dlfcn.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
endian.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
errno.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
fcntl.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
fenv.h Updated x86_64 fenv.h and added fenv.c. 2012-07-27 15:21:41 +01:00
fnmatch.h Added headers for fnmatch, glob, and pwd stuff. 2002-10-06 23:47:13 +00:00
fts.h Restore FTS_WHITEOUT, guard it with __HAIKU__. 2013-01-11 00:26:48 +01:00
ftw.h Add Haiku support. 2013-01-11 00:26:48 +01:00
getopt.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
glob.h * Updated glob.h and its implementation to FreeBSD current (1.10, 1.27), 2008-10-28 14:13:30 +00:00
grp.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
inttypes.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
iovec.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
langinfo.h <langinfo.h>/<select.h>: don't use C++ comments 2013-06-12 14:55:16 +02:00
libgen.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
libio.h closing #3481: 2009-05-26 11:21:56 +00:00
limits.h posix: Update PTHREAD_STACK_MIN to match MIN_USER_STACK_SIZE 2013-09-17 14:42:04 +02:00
locale.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
malloc_debug.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
malloc.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
math.h Add missing definitions to math.h 2013-10-01 19:48:51 +02:00
memory.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
monetary.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
netdb.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
nl_types.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
null.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
poll.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
pthread.h Add support for pthread_attr_get/setguardsize() 2012-12-28 18:02:58 +00:00
pwd.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
regex.h use __haiku_addr_t instead of __haiku_uint32 2010-08-14 11:58:02 +00:00
resolv.h <resolv.h>: Make self-contained 2013-06-11 15:23:18 +02:00
sched.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
search.h search.h: fix typo. 2014-06-07 10:54:15 +02:00
semaphore.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
setjmp.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
shadow.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
signal.h Revert "Add sys/ucontext.h" 2014-08-09 20:18:05 +02:00
size_t.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
stdint.h stdint.h: use correct type for INT64_MAX (#11647) 2014-12-20 10:06:21 +01:00
stdio_ext.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
stdio_post.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
stdio_pre.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
stdio.h stdio.h: add missing typedefs 2014-11-19 15:45:17 +01:00
stdlib.h Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h 2014-12-14 18:06:09 +01:00
string.h string.h: include strings.h for compatibility. 2014-10-30 00:20:13 +01:00
strings.h include strings.h where appriopriate... 2014-08-08 22:40:37 +02:00
syslog.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
tar.h added tar.h posix header. 2014-04-26 11:09:24 +02:00
termios.h Add TIOCM_CAR as a synonym for TIOCM_CD 2014-11-09 02:28:06 +01:00
time.h Rename some parameters to avoid "declaration of 'foo' shadows global declaration" warnings. 2011-10-31 22:01:29 +00:00
unistd.h mknod[at](): moves from unistd.h to sys/stat.h 2014-08-04 19:03:08 +02:00
utime.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
wchar_t.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
wchar.h Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h 2014-12-14 18:06:09 +01:00
wctype.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00