Start porting compiler-rt testsuit to Solaris with new build system. Fix some C++ style comments which are not allowed in ISO C90.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78143 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/int_lib.h b/lib/int_lib.h
index 3690d2e..6ef7b8e 100644
--- a/lib/int_lib.h
+++ b/lib/int_lib.h
@@ -1,22 +1,23 @@
-//===-- int_lib.h - configuration header for libgcc replacement -----------===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file is a configuration header for libgcc replacement.
-// This file is not part of the interface of this library.
-//
-//===----------------------------------------------------------------------===//
+/* ===-- int_lib.h - configuration header for libgcc replacement -----------===
+ *
+ *                     The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file is a configuration header for libgcc replacement.
+ * This file is not part of the interface of this library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
 
 #ifndef INT_LIB_H
 #define INT_LIB_H
 
-// Assumption:  signed integral is 2's complement
-// Assumption:  right shift of signed negative is arithmetic shift
+/* Assumption:  signed integral is 2's complement */
+/* Assumption:  right shift of signed negative is arithmetic shift */
 
 #include <limits.h>
 #include <math.h>
@@ -25,16 +26,16 @@
 #define INFINITY HUGE_VAL
 #endif
 
-// TODO: Improve this to minimal pre-processor hackish'ness.
+/* TODO: Improve this to minimal pre-processor hackish'ness. */
 #if defined (__SVR4) && defined (__sun)
-// config.h build via CMake.
-//#include <config.h>
+/* config.h build via CMake. */
+/* #include <config.h> */
 
-// Solaris header for endian and byte swap
-//#if defined HAVE_SYS_BYTEORDER_H
+/* Solaris header for endian and byte swap */
+/* #if defined HAVE_SYS_BYTEORDER_H */
 #include <sys/byteorder.h>
 
-// Solaris defines endian by setting _LITTLE_ENDIAN or _BIG_ENDIAN
+/* Solaris defines endian by setting _LITTLE_ENDIAN or _BIG_ENDIAN */
 #ifdef _BIG_ENDIAN
 # define IS_BIG_ENDIAN
 #endif
@@ -51,7 +52,7 @@
 #define __LITTLE_ENDIAN__ 1
 #endif
 
-#endif //End of Solaris ifdef.
+#endif /* End of Solaris ifdef. */
 
 #ifdef __LITTLE_ENDIAN__
 #if __LITTLE_ENDIAN__