зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1350355 - fdlibm should provide definition for u_int32_t and u_int64_t. r=arai
--HG-- extra : rebase_source : ef6ae7b88fd98d8e6e7d37f5ebbb1b56f3c669ac
This commit is contained in:
Родитель
66934884d5
Коммит
19ea5cacf5
|
@ -1,7 +1,7 @@
|
|||
diff --git a/modules/fdlibm/src/math_private.h b/modules/fdlibm/src/math_private.h
|
||||
--- a/modules/fdlibm/src/math_private.h
|
||||
+++ b/modules/fdlibm/src/math_private.h
|
||||
@@ -33,16 +33,21 @@
|
||||
@@ -33,16 +33,23 @@
|
||||
* to dig two 32 bit words out of the 64 bit IEEE floating point
|
||||
* value. That is non-ANSI, and, moreover, the gcc instruction
|
||||
* scheduler gets it wrong. We instead use the following macros.
|
||||
|
@ -10,8 +10,10 @@ diff --git a/modules/fdlibm/src/math_private.h b/modules/fdlibm/src/math_private
|
|||
* endianness at run time.
|
||||
*/
|
||||
|
||||
+#ifdef WIN32
|
||||
+#ifndef u_int32_t
|
||||
+#define u_int32_t uint32_t
|
||||
+#endif
|
||||
+#ifndef u_int64_t
|
||||
+#define u_int64_t uint64_t
|
||||
+#endif
|
||||
+
|
||||
|
|
|
@ -38,8 +38,10 @@
|
|||
* endianness at run time.
|
||||
*/
|
||||
|
||||
#ifdef WIN32
|
||||
#ifndef u_int32_t
|
||||
#define u_int32_t uint32_t
|
||||
#endif
|
||||
#ifndef u_int64_t
|
||||
#define u_int64_t uint64_t
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче