diff --git a/js/src/jsutil.h b/js/src/jsutil.h index 32530d3c4281..7d072bf125cf 100644 --- a/js/src/jsutil.h +++ b/js/src/jsutil.h @@ -84,7 +84,7 @@ JS_Assert(const char *s, const char *file, JSIntn ln); #define JS_STATIC_ASSERT(condition) #else #define JS_STATIC_ASSERT(condition) \ - typedef int js_static_assert[(condition) ? 1 : -1] + extern void js_static_assert(int arg[(condition) ? 1 : -1]) #endif /*