Commit 2a89b508 authored by Sam Lantinga's avatar Sam Lantinga

From: Hayashi Naoyuki

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)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401329
parent a50283a1
......@@ -34,7 +34,7 @@
for __USE_POSIX199309
Tommi Kyntola (tommi.kyntola@ray.fi) 27/09/2005
*/
#if (defined _POSIX_TIMERS && _POSIX_TIMERS > 0)
#if (defined _POSIX_TIMERS && _POSIX_TIMERS + 0 > 0)
#include <time.h>
/*
* clock_gettime() is missing in my system's glibc, and apparently isn't
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment