From 2a89b508cf6b48de69b55333a3451b9731bd5860 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 3 Feb 2006 07:43:42 +0000 Subject: [PATCH] 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 --- src/timer/linux/SDL_systimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer/linux/SDL_systimer.c b/src/timer/linux/SDL_systimer.c index d1ef39a70..d59937fab 100644 --- a/src/timer/linux/SDL_systimer.c +++ b/src/timer/linux/SDL_systimer.c @@ -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 /* * clock_gettime() is missing in my system's glibc, and apparently isn't