stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r395283 - /incubator/stdcxx/trunk/tests/src/fmt_defs.h
Date Wed, 19 Apr 2006 15:59:13 GMT
Author: sebor
Date: Wed Apr 19 08:59:11 2006
New Revision: 395283

URL: http://svn.apache.org/viewcvs?rev=395283&view=rev
Log:
2006-04-19  Martin Sebor  <sebor@roguewave.com>

	* fmt_defs.h (<testdefs.h>): Included.
	(i64_t): Defined to int when _RWSTD_INT32_T is not #defined.

Modified:
    incubator/stdcxx/trunk/tests/src/fmt_defs.h

Modified: incubator/stdcxx/trunk/tests/src/fmt_defs.h
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/src/fmt_defs.h?rev=395283&r1=395282&r2=395283&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/src/fmt_defs.h (original)
+++ incubator/stdcxx/trunk/tests/src/fmt_defs.h Wed Apr 19 08:59:11 2006
@@ -29,7 +29,8 @@
 #ifndef RW_FMT_DEFS_H_INCLUDED
 #define RW_FMT_DEFS_H_INCLUDED
 
-#include <stddef.h>   // for ptrdiff_t, size_t
+#include <testdefs.h>
+#include <stddef.h>     // for ptrdiff_t, size_t
 
 /********************************************************************/
 
@@ -120,32 +121,32 @@
 #ifndef _RWSTD_NO_LONG_DOUBLE
     typedef long double ldbl_t;
 #else
-    typedef double ldbl_t;   // bogus (for convenience)
+    typedef double      ldbl_t;   // bogus (for convenience)
 #endif   // _RWSTD_NO_LONG_DOUBLE
 
 #ifdef _RWSTD_LONG_LONG
     typedef _RWSTD_LONG_LONG llong_t;
 #else
-    typedef long llong_t;   // bogus (for convenience)
+    typedef long             llong_t;   // bogus (for convenience)
 #endif   // _RWSTD_LONG_LONG
 
 #ifdef _RWSTD_INT64_T
     typedef _RWSTD_INT64_T i64_t;
 #else
-    typedef int            i64_t;   // for convenience
+    typedef int            i64_t;   // likely bogus (for convenience)
 #endif   // _RWSTD_INT64_T
 
 #ifdef _RWSTD_INT32_T
     typedef _RWSTD_INT32_T i32_t;
 #else
-    typedef int i64_t;
+    typedef int            i32_t;
 #endif   // _RWSTD_INT64_T
 
 #ifdef _RWSTD_WINT_T
     typedef _RWSTD_WINT_T wint_t;
 #else
-    typedef int wint_t;
-#endif
+    typedef int           wint_t;
+#endif   // _RWSTD_WINT_T
 
     typedef ::size_t   size_t;
     typedef ptrdiff_t  diff_t;



Mime
View raw message