From 699ccfec3e0ac8433aee51ec43e394f6cdafbeb5 Mon Sep 17 00:00:00 2001 From: Dan Witte Date: Wed, 23 Sep 2009 13:15:03 -0700 Subject: [PATCH] fix msvc build. --- js/ctypes/Function.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/js/ctypes/Function.h b/js/ctypes/Function.h index f216c459b173..fb84cd03f116 100644 --- a/js/ctypes/Function.h +++ b/js/ctypes/Function.h @@ -42,7 +42,6 @@ #include "Library.h" #include "nsIXPCScriptable.h" -#include "nsString.h" #include "nsTArray.h" #include "nsAutoPtr.h" #include "prlink.h" @@ -62,14 +61,14 @@ struct Value { void* mData; union { - int8_t mInt8; - int16_t mInt16; - int32_t mInt32; - int64_t mInt64; - uint8_t mUint8; - uint16_t mUint16; - uint32_t mUint32; - uint64_t mUint64; + PRInt8 mInt8; + PRInt16 mInt16; + PRInt32 mInt32; + PRInt64 mInt64; + PRUint8 mUint8; + PRUint16 mUint16; + PRUint32 mUint32; + PRUint64 mUint64; float mFloat; double mDouble; void* mPointer;