diff src/timer/linux/SDL_systimer.c @ 166:39877400bd1e

Fixed Solaris nitpicks (thanks Mattias!)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Sep 2001 22:48:09 +0000
parents cf2af46e9e2a
children e8157fcb3114
line wrap: on
line diff
--- a/src/timer/linux/SDL_systimer.c	Tue Sep 04 22:38:01 2001 +0000
+++ b/src/timer/linux/SDL_systimer.c	Tue Sep 04 22:48:09 2001 +0000
@@ -46,11 +46,11 @@
 
 /* The following defines should really be determined at configure time */
 
-#ifdef linux
+#if defined(linux)
 /* Linux select() changes its timeout parameter upon return to contain
    the remaining time. Most other unixen leave it unchanged or undefined. */
 #define SELECT_SETS_REMAINING
-#elif defined(__bsdi__) || defined(__FreeBSD__) || defined(__sun__)
+#elif defined(__bsdi__) || defined(__FreeBSD__) || defined(__sun)
 #define USE_NANOSLEEP
 #endif