svn commit: r351085 - head/lib/libc/quad

Kyle Evans kevans at FreeBSD.org
Thu Aug 15 16:28:06 UTC 2019


Author: kevans
Date: Thu Aug 15 16:28:05 2019
New Revision: 351085
URL: https://svnweb.freebsd.org/changeset/base/351085

Log:
  libc quad.h: one last _STANDALONE correction

Modified:
  head/lib/libc/quad/quad.h

Modified: head/lib/libc/quad/quad.h
==============================================================================
--- head/lib/libc/quad/quad.h	Thu Aug 15 16:27:04 2019	(r351084)
+++ head/lib/libc/quad/quad.h	Thu Aug 15 16:28:05 2019	(r351085)
@@ -67,8 +67,13 @@ _Static_assert(sizeof(quad_t) == sizeof(int) * 2,
 union uu {
 	quad_t	q;		/* as a (signed) quad */
 	quad_t	uq;		/* as an unsigned quad */
+#ifdef _STANDALONE
+	int	sl[2];		/* as two signed longs */
+	u_int	ul[2];		/* as two unsigned longs */
+#else
 	long	sl[2];		/* as two signed longs */
 	u_long	ul[2];		/* as two unsigned longs */
+#endif
 };
 
 /*


More information about the svn-src-head mailing list