Commit ed15ffc9 authored by Zach's avatar Zach

Mac has gettimeofday defined, but cmsys wasn't aware of that, so it was...

Mac has gettimeofday defined, but cmsys wasn't aware of that, so it was falling back to using time() which only provides second resolution.  Fixed to allow usec res.
parent dcae401a
......@@ -287,7 +287,7 @@ extern int putenv (char *__string) __THROW;
# define FTIME _ftime
# define TIMEB _timeb
# endif
#elif defined( __CYGWIN__ ) || defined( __linux__ )
#elif defined( __CYGWIN__ ) || defined( __linux__ ) || defined(__APPLE__)
# include <sys/time.h>
# include <time.h>
# define HAVE_GETTIMEOFDAY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment