Reviewed by Tim H.
Fix Windows build.
* JavaScriptCore.vcproj/dftables/dftables.vcproj:
* pcre/pcre_internal.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16163
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-08-31 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Tim H.
+
+ Fix Windows build.
+
+ * JavaScriptCore.vcproj/dftables/dftables.vcproj:
+ * pcre/pcre_internal.h:
+
2006-08-31 Timothy Hatcher <timothy@apple.com>
Reviewed by Geoff.
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8.00"
+ Version="8,00"
Name="dftables"
ProjectGUID="{BC2981C0-67A5-4A3C-879B-784BCBDE2541}"
RootNamespace="dftables"
<Tool
Name="VCCLCompilerTool"
Optimization="0"
+ AdditionalIncludeDirectories="../../wtf"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
// Added to prevent 64-to-32 shortening warnings when compiling for 64-bit
// <rdar://problem/4712064> PCRE generates many warnings with -Wshorten-64-to-32
+#if defined(__GNUC__) && defined(__LP64__)
#define INT_CAST(i) (int)(i); ASSERT((i) <= INT_MAX)
+#else
+#define INT_CAST(i) (i)
+#endif
/* This header contains definitions that are shared between the different
modules, but which are not relevant to the exported API. This includes some