We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 123 - Quick'n'Dirty patch for Win64
Summary: Quick'n'Dirty patch for Win64
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: don't know
Hardware: x86 Windows (XP)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 10:37 UTC by Sam Lantinga
Modified: 2006-03-09 10:16 UTC (History)
0 users

See Also:


Attachments
SDL-1.2.8_64.diff (33.00 KB, patch)
2006-01-31 10:38 UTC, Sam Lantinga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Lantinga 2006-01-31 10:37:04 UTC
Date: Fri, 29 Jul 2005 01:52:33 +0200
From: Michael Lutz <Michi_cc@gmx.net>
Subject: [SDL] Quick'n'Dirty patch for Win64

Hi,

I made an quick and dirty patch to get SDL 1.2.8 compile cleanly for
Win64 with Visual Studio 2005.

It's not really testet, but the sample seem to work. If anyone is able
to test it more thorougly, it's much apreciated.

Changes:
 * Removed c_dfDIKeyboard and friends; wouldn't work otherwise.
 * Many explicit typecasting to quiet the compiler.


I've got project files as well, but I don't know if I can attach zip-files.
Comment 1 Sam Lantinga 2006-01-31 10:38:18 UTC
Created attachment 59 [details]
SDL-1.2.8_64.diff

There's a lot of typecasting where the SDL types should be extended to handle 64-bit systems.  We should probably support this in SDL 1.3, and change the SDL data structures accordingly.
Comment 2 Ryan C. Gordon 2006-01-31 10:49:40 UTC
Some of these changes are better than others...let me clean this one up before committing it.

--ryan.

Comment 3 Sam Lantinga 2006-03-09 10:16:37 UTC
The current CVS code should be fine on Win64 now.