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 376 - Fix SDL_config_win32.h for dmc
Summary: Fix SDL_config_win32.h for dmc
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 1.2
Hardware: x86 Windows (All)
: P2 minor
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-22 06:08 UTC by Nicos
Modified: 2007-02-12 06:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicos 2006-12-22 06:08:59 UTC
Digital mars has C99 integer types in stdint.h like gcc.
For dmc to work the line in SDL_config_win32.h:

#ifdef __GNUC__

should be changed to:

#if defined(__GNUC__) || defined(__DMC__)

This is the last change required to use the original SDL headers with dmc. I forgot to send this in Bug#256 with the SDL_stdinc.h fix :)
Comment 1 Ryan C. Gordon 2007-02-12 06:45:37 UTC
This is fixed in svn revision #2957 for the 1.2 branch and #2958 for the 1.3 branch.

Thanks!

--ryan.