Revert to gettimeofday on posix systems. I give up.

Temporary fix for OSX in JitIL.cpp
This revision should build on OSX again.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6457 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-11-22 02:42:53 +00:00
parent 63c35bf14a
commit a3c46990f6
4 changed files with 11 additions and 32 deletions

View File

@ -60,14 +60,10 @@
#define INFINITE 0xffffffff
#endif
//for (clock_gettime|gettimeofday) and struct time(spec|val)
#include <unistd.h>
//for gettimeofday and struct time(spec|val)
#include <time.h>
#if !defined(_POSIX_TIMERS) || _POSIX_TIMERS == 0 || !defined(_POSIX_MONOTONIC_CLOCK)
#define USE_GETTIMEOFDAY
#include <sys/time.h>
#endif
#endif
namespace Common