This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] libstdc++/40912 (partial)


Hi,

for now just making sure the build doesn't fail while building the PCHs.

Paolo.

/////////////////
2009-07-31  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40912 (partial)
	* include/std/random: Disable the facility if <stdint.h> is not
	available.
Index: include/std/random
===================================================================
--- include/std/random	(revision 150311)
+++ include/std/random	(working copy)
@@ -47,12 +47,18 @@
 #include <debug/debug.h>
 #include <type_traits>
 
+#ifdef _GLIBCXX_USE_C99_STDINT_TR1
+
+#include <cstdint> // For uint_fast32_t, uint_fast64_t, uint_least32_t
+
 #include <bits/random.h>
 
 #ifndef _GLIBCXX_EXPORT_TEMPLATE
 # include <bits/random.tcc>
 #endif
 
+#endif // _GLIBCXX_USE_C99_STDINT_TR1
+
 #endif // __GXX_EXPERIMENTAL_CXX0X__
 
 #endif // _GLIBCXX_RANDOM

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]