Fix warnings (again) by moving string.h include inside ifdef. Tested on mac, win, and linux.
git-svn-id: svn://10.0.0.236/trunk@46371 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
152820e6f3
commit
a0c00bbe39
@ -21,7 +21,6 @@
|
||||
*/
|
||||
#include "jsstddef.h"
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "jstypes.h"
|
||||
#include "jsprf.h"
|
||||
@ -1570,6 +1569,7 @@ date_toLocaleString(JSContext *cx, JSObject *obj, uintN argc,
|
||||
}
|
||||
|
||||
#if JS_HAS_TOSOURCE
|
||||
#include <string.h>
|
||||
#include "jsdtoa.h"
|
||||
|
||||
static JSBool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user