This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/362] New: sysdeps/generic/bits/types.h fix for compilers without __GLIBC_HAVE_LONG_LONG
- From: "markus at oberhumer dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Sep 2004 13:47:36 -0000
- Subject: [Bug libc/362] New: sysdeps/generic/bits/types.h fix for compilers without __GLIBC_HAVE_LONG_LONG
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
This small patch fixes bits/types.h for compilers without __GLIBC_HAVE_LONG_LONG.
Index: sysdeps/generic/bits/types.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/generic/bits/types.h,v
retrieving revision 1.22
diff -u -r1.22 types.h
--- sysdeps/generic/bits/types.h 9 Sep 2003 00:04:25 -0000 1.22
+++ sysdeps/generic/bits/types.h 1 Sep 2004 13:44:03 -0000
@@ -106,8 +106,8 @@
#define __SLONGWORD_TYPE long int
#define __ULONGWORD_TYPE unsigned long int
#if __WORDSIZE == 32
-# define __SQUAD_TYPE long long int
-# define __UQUAD_TYPE unsigned long long int
+# define __SQUAD_TYPE __quad_t
+# define __UQUAD_TYPE __u_quad_t
# define __SWORD_TYPE int
# define __UWORD_TYPE unsigned int
# define __SLONG32_TYPE long int
--
Summary: sysdeps/generic/bits/types.h fix for compilers without
__GLIBC_HAVE_LONG_LONG
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: markus at oberhumer dot com
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=362
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.