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/cmpdi2.c b/lib/cmpdi2.c
index ece48ae..0b87352 100644
--- a/lib/cmpdi2.c
+++ b/lib/cmpdi2.c
@@ -26,13 +26,13 @@
     x.all = a;
     dwords y;
     y.all = b;
-    if (x.high < y.high)
+    if (x.s.high < y.s.high)
         return 0;
-    if (x.high > y.high)
+    if (x.s.high > y.s.high)
         return 2;
-    if (x.low < y.low)
+    if (x.s.low < y.s.low)
         return 0;
-    if (x.low > y.low)
+    if (x.s.low > y.s.low)
         return 2;
     return 1;
 }