git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@763
7f0cb862-5218-0410-a997-
914c9d46530a
# ifdef JS_NEW
unsigned char u;
# else
-# if defined( __linux__ )
+# if defined( __linux__ ) || TARGET_HOST_SOLARIS
int counter = 0;
# endif
# endif
* 32-bit, where the GLUT API return value is also overflowed.
*/
unsigned long fgSystemTime(void) {
-#if HAVE_GETTIMEOFDAY
+#if TARGET_HOST_SOLARIS || HAVE_GETTIMEOFDAY
struct timeval now;
gettimeofday( &now, NULL );
return now.tv_usec/1000 + now.tv_sec*1000;