
#ifndef AT_TIME_H
#define AT_TIME_H


// Under Windows, define the gettimeofday() function with corresponding types
#ifdef _MSC_VER
    #include <windows.h>
    #include <time.h>
    #include "atSymbols.h"


    // TYPES
    struct timezone
    {
       int   tz_minuteswest;
       int   tz_dsttime;
    };


    // FUNCTIONS
    ATLAS_SYM int gettimeofday(struct timeval * tv, struct timezone * tz);
#else
   #include <sys/time.h>
#endif


#endif



#ifndef AT_TIME_H
#define AT_TIME_H


// Under Windows, define the gettimeofday() function with corresponding types
#ifdef _MSC_VER
    #include <windows.h>
    #include <time.h>


    // TYPES
    struct timezone
    {
       int   tz_minuteswest;
       int   tz_dsttime;
    };


    // FUNCTIONS
    int gettimeofday(struct timeval * tv, struct timezone * tz);
#else
   #include <sys/time.h>
#endif


#endif


--- 
+++ 
@@ -7,6 +7,7 @@
 #ifdef _MSC_VER
     #include <windows.h>
     #include <time.h>
+    #include "atSymbols.h"
 
 
     // TYPES
@@ -18,7 +19,7 @@
 
 
     // FUNCTIONS
-    int gettimeofday(struct timeval * tv, struct timezone * tz);
+    ATLAS_SYM int gettimeofday(struct timeval * tv, struct timezone * tz);
 #else
    #include <sys/time.h>
 #endif
Add the atSymbols to this so the getTimeOfDay function was usable outside of the windows dll.
