Bug 1331954 - Put forgotten #error directive to dtoa.c. r=arai
authorAndrey Mukamolow <fobo66@protonmail.com>
Sun, 05 Feb 2017 03:09:23 +0300
changeset 374078 f9cc96d0a27a659a90e153051010e0d5436d7a2b
parent 374077 e6332dc0a1837295e549629bf5f2ab1a50cba00b
child 374079 bcb3bb41c374eaa64fd64d651148b59b70acf377
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1331954
milestone54.0a1
Bug 1331954 - Put forgotten #error directive to dtoa.c. r=arai 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])