+#include <stdlib.h>
+#include <string.h>
+
+#if PLATFORM_UNIX
+#include <unistd.h>
+#include <sys/time.h>
+#include <assert.h>
+typedef long long __int64;
+typedef __int64 LARGE_INTEGER;
+static int QueryPerformanceFrequency(LARGE_INTEGER *liptr)
+{
+ assert(sizeof (__int64) == 8);
+ assert(sizeof (LARGE_INTEGER) == 8);
+ *liptr = 1000;
+ return(1);
+}