Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2019 16:28:06 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351085 - head/lib/libc/quad
Message-ID:  <201908151628.x7FGS6DW005388@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 };
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908151628.x7FGS6DW005388>