Ooops, forgot one file in the previous commit (fix for "--without-x").
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@759 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
f93b2081eb
commit
aebd3ade65
@ -308,7 +308,7 @@ static void fghCheckTimers( void )
|
|||||||
* 32-bit, where the GLUT API return value is also overflowed.
|
* 32-bit, where the GLUT API return value is also overflowed.
|
||||||
*/
|
*/
|
||||||
unsigned long fgSystemTime(void) {
|
unsigned long fgSystemTime(void) {
|
||||||
#if TARGET_HOST_POSIX_X11
|
#if HAVE_GETTIMEOFDAY
|
||||||
struct timeval now;
|
struct timeval now;
|
||||||
gettimeofday( &now, NULL );
|
gettimeofday( &now, NULL );
|
||||||
return now.tv_usec/1000 + now.tv_sec*1000;
|
return now.tv_usec/1000 + now.tv_sec*1000;
|
||||||
|
Reference in New Issue
Block a user