gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r16844 - gnunet/m4


From: gnunet
Subject: [GNUnet-SVN] r16844 - gnunet/m4
Date: Wed, 14 Sep 2011 16:31:30 +0200

Author: grothoff
Date: 2011-09-14 16:31:29 +0200 (Wed, 14 Sep 2011)
New Revision: 16844

Modified:
   gnunet/m4/align.m4
Log:
stuff

Modified: gnunet/m4/align.m4
===================================================================
--- gnunet/m4/align.m4  2011-09-14 14:18:01 UTC (rev 16843)
+++ gnunet/m4/align.m4  2011-09-14 14:31:29 UTC (rev 16844)
@@ -14,8 +14,12 @@
  ac_cv_unaligned_64_access, 
  [
  AC_RUN_IFELSE(AC_LANG_PROGRAM([[struct S { int a,b,c;};]],
-                               [[struct S s = {0,0,0}; long long * p = &s.b; 
-                                 long long x = *p; return (int) x*x;]]),
+                               [[struct S s = {0,0,0}; long long * p = (long 
long *) &s.b; 
+                                void *bp = malloc (50); 
+                                long long x = *p; 
+                                long long *be = (long long*) &bp[1];
+                                long long y = *be;
+                                return (int) x*y;]]),
  ac_cv_unaligned_64_access=yes,
  ac_cv_unaligned_64_access=no,
  ac_cv_unaligned_64_access=no)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]