Refactor to remove un-named struct gnu extension usage. Now ISO C89 and C99 compliant. Comment trailing endifs
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78537 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/floatdixf.c b/lib/floatdixf.c
index 6760ab3..bfda367 100644
--- a/lib/floatdixf.c
+++ b/lib/floatdixf.c
@@ -37,10 +37,10 @@
int clz = __builtin_clzll(a);
int e = (N - 1) - clz ; /* exponent */
long_double_bits fb;
- fb.u.high.low = ((su_int)s & 0x00008000) | /* sign */
- (e + 16383); /* exponent */
+ fb.u.high.s.low = ((su_int)s & 0x00008000) | /* sign */
+ (e + 16383); /* exponent */
fb.u.low.all = a << clz; /* mantissa */
return fb.f;
}
-#endif
+#endif /* !_ARCH_PPC */