svn commit: trunk/uClibc/libc/sysdeps/linux/common
psm at uclibc.org
psm at uclibc.org
Thu Dec 1 23:01:52 UTC 2005
Author: psm
Date: 2005-12-01 15:01:29 -0800 (Thu, 01 Dec 2005)
New Revision: 12622
Log:
Kill 2 redefine warnings w/ gcc-4.x
Modified:
trunk/uClibc/libc/sysdeps/linux/common/getdents.c
trunk/uClibc/libc/sysdeps/linux/common/getdents64.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/getdents.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/getdents.c 2005-12-01 22:27:33 UTC (rev 12621)
+++ trunk/uClibc/libc/sysdeps/linux/common/getdents.c 2005-12-01 23:01:29 UTC (rev 12622)
@@ -28,7 +28,7 @@
#include <sys/types.h>
#include <sys/syscall.h>
-
+#undef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
struct kernel_dirent
Modified: trunk/uClibc/libc/sysdeps/linux/common/getdents64.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/getdents64.c 2005-12-01 22:27:33 UTC (rev 12621)
+++ trunk/uClibc/libc/sysdeps/linux/common/getdents64.c 2005-12-01 23:01:29 UTC (rev 12622)
@@ -31,7 +31,7 @@
#if defined __UCLIBC_HAS_LFS__ && defined __NR_getdents64
-
+#undef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
struct kernel_dirent64
More information about the uClibc-cvs
mailing list