Reviewed and landed by Darin.

        - a Windows-specific file

        * os-win32/stdint.h: Added. We plan to remove dependency on the <stdint.h> types,
        and if we do so, we will remove this file.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/os-win32/stdint.h b/JavaScriptCore/os-win32/stdint.h
new file mode 100644
index 0000000..285b276
--- /dev/null
+++ b/JavaScriptCore/os-win32/stdint.h
@@ -0,0 +1,25 @@
+#ifndef STDINT_WIN32_H
+#define STDINT_WIN32_H
+
+/* This file emulates enough of unix's stdint.h on Windows
+   to make WebCore compile */
+   
+#ifndef WIN32
+#error "This stdint.h file should only be compiled under Windows"
+#endif
+typedef unsigned short uint16_t;
+typedef short int16_t;
+typedef unsigned int uint32_t;
+typedef int int32_t;
+typedef unsigned __int64 uint64_t;
+
+#ifndef CASSERT
+#define CASSERT( exp, name ) typedef int dummy##name [ (exp ) ? 1 : -1 ];
+#endif
+
+CASSERT( sizeof(int16_t) == 2, int16_t_is_two_bytes )
+CASSERT( sizeof(uint16_t) == 2, uint16_t_is_two_bytes )
+CASSERT( sizeof(uint32_t) == 4, uint32_t_is_four_bytes )
+CASSERT( sizeof(int32_t) == 4, int32_t_is_four_bytes )
+
+#endif