4f4a027f7c
* JS 1.6.0 is based on the same branch (1.8.0.9) as Firefox 1.5.0.9 and includes the same stability and security fixes. * JS 1.6.0 includes support for JavaScript 1.6 with support for E4X, several new Array methods, and Array and String generics.
19 lines
463 B
Text
19 lines
463 B
Text
$NetBSD: patch-aj,v 1.1 2007/08/12 03:04:34 wiz Exp $
|
|
|
|
--- jstypes.h.orig 2005-09-18 00:35:05.000000000 -0400
|
|
+++ jstypes.h
|
|
@@ -387,8 +387,14 @@ typedef JSUint8 JSPackedBool;
|
|
/*
|
|
** A JSWord is an integer that is the same size as a void*
|
|
*/
|
|
+#ifndef HAVE_INTTYPES_H
|
|
typedef long JSWord;
|
|
typedef unsigned long JSUword;
|
|
+#else
|
|
+#include <inttypes.h>
|
|
+typedef intptr_t JSWord;
|
|
+typedef uintptr_t JSUword;
|
|
+#endif /* HAVE_INTTYPES_H */
|
|
|
|
#include "jsotypes.h"
|
|
|