aboutsummaryrefslogtreecommitdiff
path: root/posix/sys
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-11-19 10:12:15 +0000
committerAndreas Jaeger <aj@suse.de>2001-11-19 10:12:15 +0000
commit5224e27c9e10f21ecd00675707f59edbe91c8449 (patch)
treeb7f1311a1b2181e29ae956c926a80432bdfae06a /posix/sys
parentUpdate. (diff)
downloadglibc-5224e27c9e10f21ecd00675707f59edbe91c8449.tar.gz
glibc-5224e27c9e10f21ecd00675707f59edbe91c8449.tar.bz2
glibc-5224e27c9e10f21ecd00675707f59edbe91c8449.zip
* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
compilers that support it. * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * stdlib/stdlib.h: Likewise.
Diffstat (limited to 'posix/sys')
-rw-r--r--posix/sys/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h
index cd114876fe..6895c0dec0 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,94,95,96,97,98,99,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,94,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -162,7 +162,7 @@ typedef unsigned int uint;
typedef char int8_t;
typedef short int int16_t;
typedef int int32_t;
-# ifdef __GNUC__
+# if __GLIBC_HAVE_LONG_LONG
__extension__ typedef long long int int64_t;
# endif
# endif
@@ -171,7 +171,7 @@ __extension__ typedef long long int int64_t;
typedef unsigned char u_int8_t;
typedef unsigned short int u_int16_t;
typedef unsigned int u_int32_t;
-# ifdef __GNUC__
+# if __GLIBC_HAVE_LONG_LONG
__extension__ typedef unsigned long long int u_int64_t;
# endif