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 85

Summary: SDL_systimer.c compile fail
Product: SDL Reporter: Hayashi Naoyuki <titan>
Component: timerAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: Other   
OS: Other   
Attachments: SDL12/src/timer/linux/SDL_systimer.c patch

Description Hayashi Naoyuki 2006-01-26 07:27:28 UTC
I tried to compile with gcc on Tru64, and got the following error.
SDL_systimer.c:45:45: error: operator '&&' has no right operand

It succeeds if changing 
#if (defined _POSIX_TIMERS && _POSIX_TIMERS > 0)
to
#if (defined _POSIX_TIMERS && _POSIX_TIMERS + 0 > 0)
Comment 1 Hayashi Naoyuki 2006-01-26 07:33:49 UTC
Created attachment 40 [details]
SDL12/src/timer/linux/SDL_systimer.c patch
Comment 2 Ryan C. Gordon 2006-01-27 11:23:25 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 3 Sam Lantinga 2006-02-03 02:44:01 UTC
This is in CVS, thanks!