[prev in list] [next in list] [prev in thread] [next in thread]
List: uclibc-cvs
Subject: svn commit: trunk/uClibc/libutil
From: aldot () uclibc ! org (aldot at uclibc ! org)
Date: 2008-05-30 17:58:47
Message-ID: 20080530175847.DA0F23C7ED () busybox ! net
[Download RAW message or body]
Author: aldot
Date: 2008-05-30 10:58:47 -0700 (Fri, 30 May 2008)
New Revision: 22125
Log:
- Avoid warning about undefined preprocessor token. No obj-code changes.
Modified:
trunk/uClibc/libutil/logout.c
trunk/uClibc/libutil/logwtmp.c
Changeset:
Modified: trunk/uClibc/libutil/logout.c
===================================================================
--- trunk/uClibc/libutil/logout.c 2008-05-30 15:25:40 UTC (rev 22124)
+++ trunk/uClibc/libutil/logout.c 2008-05-30 17:58:47 UTC (rev 22125)
@@ -51,7 +51,7 @@
memset (ut->ut_host, 0, sizeof ut->ut_host);
#endif
#if _HAVE_UT_TV - 0
-# if __WORDSIZE_COMPAT32 == 0
+# if !defined __WORDSIZE_COMPAT32 || __WORDSIZE_COMPAT32 == 0
gettimeofday (&ut->ut_tv, NULL);
# else
{
Modified: trunk/uClibc/libutil/logwtmp.c
===================================================================
--- trunk/uClibc/libutil/logwtmp.c 2008-05-30 15:25:40 UTC (rev 22124)
+++ trunk/uClibc/libutil/logwtmp.c 2008-05-30 17:58:47 UTC (rev 22125)
@@ -24,7 +24,7 @@
strncpy(lutmp.ut_line, line, sizeof(lutmp.ut_line)-1);
strncpy(lutmp.ut_name, name, sizeof(lutmp.ut_name)-1);
strncpy(lutmp.ut_host, host, sizeof(lutmp.ut_host)-1);
-#if __WORDSIZE_COMPAT32 == 0
+#if !defined __WORDSIZE_COMPAT32 || __WORDSIZE_COMPAT32 == 0
gettimeofday(&(lutmp.ut_tv), NULL);
#else
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic