[Webkit-unassigned] [Bug 35607] Allow building smoothly on win32 and win64 using GCC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 08:24:49 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35607





--- Comment #12 from Darin Adler <darin at apple.com>  2010-03-03 08:24:49 PST ---
(In reply to comment #11)
> Adam, the fact is that since Mac is based on a Unix system, I assume that long
> is 32 bit on 32 bit system and 64 bit on 64 bit system. As normally all Unices
> use the LP64 model.
> On windows, long is 32bit on both 32-bit and 64-bit windows whereas the 64-bit
> type is long long or __int64. Long long is built-in type for both MSVC since
> .NET 2003 and for gcc.
> This is just to assure that the type there is able to hold a pointer because we
> cast a pointer into it at a certain point of time.

We should use uintptr_t then, instead of all the ifdefs.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list