Subversion Repositories Kolibri OS

Rev

Rev 4503 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4503 Rev 4768
Line 64... Line 64...
64
/* return current time (in milliseconds) */
64
/* return current time (in milliseconds) */
65
int
65
int
66
_eglutNow(void)
66
_eglutNow(void)
67
{
67
{
68
   struct timeval tv;
68
   struct timeval tv;
69
#ifdef __VMS
-
 
70
   (void) gettimeofday(&tv, NULL );
-
 
71
#else
-
 
72
   struct timezone tz;
69
   struct timezone tz;
73
   (void) gettimeofday(&tv, &tz);
70
   (void) gettimeofday(&tv, &tz);
74
#endif
-
 
75
   return tv.tv_sec * 1000 + tv.tv_usec / 1000;
71
   return tv.tv_sec * 1000 + tv.tv_usec / 1000;
76
}
72
}
Line 77... Line 73...
77
 
73
 
78
static void
74
static void