Fix for bug #1331954 draft
authorAndrey Mukamolow <fobo66@protonmail.com>
Sun, 05 Feb 2017 03:09:23 +0300
changeset 479004 7cef2870ff2c1cb19b65b4ee104122ceceaf1189
parent 478994 f8d696a34c172ce8e118d5af0b0e7b7f4bb13105
child 544565 c12176fc959f69e9ad7516c7f0e079ddcecd9008
push id44125
push userbmo:skiinale2011@gmail.com
push dateSun, 05 Feb 2017 00:36:30 +0000
bugs1331954
milestone54.0a1
Fix for bug #1331954 There was some incorrect error handling in file dtoa.c, I just put forgotten #error directive MozReview-Commit-ID: 2zzwI0YAFpI
js/src/dtoa.c
--- a/js/src/dtoa.c
+++ b/js/src/dtoa.c
@@ -248,17 +248,17 @@ extern void *MALLOC(size_t);
 #ifdef KR_headers
 #define CONST /* blank */
 #else
 #define CONST const
 #endif
 #endif
 
 #if defined(IEEE_8087) + defined(IEEE_MC68k) + defined(VAX) + defined(IBM) != 1
-Exactly one of IEEE_8087, IEEE_MC68k, VAX, or IBM should be defined.
+#error "Exactly one of IEEE_8087, IEEE_MC68k, VAX, or IBM should be defined."
 #endif
 
 typedef union { double d; ULong L[2]; } U;
 
 #define dval(x) ((x).d)
 #ifdef IEEE_8087
 #define word0(x) ((x).L[1])
 #define word1(x) ((x).L[0])