diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2019-08-15 16:28:05 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2019-08-15 16:28:05 +0000 |
commit | 14a286867e997ecde760dfcf5c014b1a66d9d9bf (patch) | |
tree | 742de0ebfe7066f5f3779e514ead69545d409142 /lib | |
parent | 63ac15aba4c5aee21eb81ec5cb947c6584b9e293 (diff) | |
download | src-14a286867e997ecde760dfcf5c014b1a66d9d9bf.tar.gz src-14a286867e997ecde760dfcf5c014b1a66d9d9bf.zip |
libc quad.h: one last _STANDALONE correction
Notes
Notes:
svn path=/head/; revision=351085
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/quad/quad.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/quad/quad.h b/lib/libc/quad/quad.h index c1df2d554e82..b76e353dc5d4 100644 --- a/lib/libc/quad/quad.h +++ b/lib/libc/quad/quad.h @@ -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 }; /* |