From 4a872f23c2b46331b71e33a2ac8af10ae603a5fb Mon Sep 17 00:00:00 2001 From: Sven Panne Date: Thu, 6 Nov 2008 19:17:13 +0000 Subject: [PATCH] Ooops, forgot one file in the previous commit (fix for "--without-x"). git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@759 7f0cb862-5218-0410-a997-914c9d46530a --- src/freeglut_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freeglut_main.c b/src/freeglut_main.c index 1b75e7d..ec08087 100644 --- a/src/freeglut_main.c +++ b/src/freeglut_main.c @@ -308,7 +308,7 @@ static void fghCheckTimers( void ) * 32-bit, where the GLUT API return value is also overflowed. */ unsigned long fgSystemTime(void) { -#if TARGET_HOST_POSIX_X11 +#if HAVE_GETTIMEOFDAY struct timeval now; gettimeofday( &now, NULL ); return now.tv_usec/1000 + now.tv_sec*1000; -- 1.7.10.4