+#if !PLATFORM_MACOSX
+
/**> HEADER FILES <**/
#include "MacCompatibility.h"
+
+#ifdef WIN32
#include <windows.h>
+#endif
+
#include <errno.h>
#include <time.h>
#include <stdio.h>
+#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);
+}
+static int QueryPerformanceCounter(LARGE_INTEGER *liptr)
+{
+ struct timeval tv;
+ gettimeofday(&tv, NULL);
+ *liptr = ( (((LARGE_INTEGER) tv.tv_sec) * 1000) +
+ (((LARGE_INTEGER) tv.tv_usec) / 1000) );
+ return(1);
+}
+#endif
class AppTime
{
static AppTime g_appTime;
-
void CopyCStringToPascal( const char* src, unsigned char dst[256])
{
int len = strlen( src);
return g_filename;
}
+
+#endif
+
+