]> git.sesse.net Git - freerainbowtables/commitdiff
misc cleanup
authorJames Nobis <quel@quelrod.net>
Fri, 14 Jan 2011 06:09:21 +0000 (00:09 -0600)
committerJames Nobis <quel@quelrod.net>
Fri, 14 Jan 2011 06:09:21 +0000 (00:09 -0600)
Common/rt api/Public.cpp
Common/rt api/Public.h

index dc23bace726e0eb756b02ef28074b81224b5ca5d..eb33545111de273abce9b6fdaeac2c0cc2476bdb 100644 (file)
@@ -63,8 +63,8 @@
  
        struct timezone
        {
-               int  tz_minuteswest; /* minutes W of Greenwich */
-               int  tz_dsttime;     /* type of dst correction */
+               int tz_minuteswest; /* minutes W of Greenwich */
+               int tz_dsttime;     /* type of dst correction */
        };
  
        int gettimeofday(struct timeval *tv, struct timezone *tz)
index 6708d3ad70815b33745fc2b6e31657b7f3e9f918..1a8322c04d58958ec5903cff87d7866f9a36fe35 100644 (file)
@@ -101,9 +101,7 @@ void tty_flush(void);
 
 #if defined(_WIN32) && !defined(__GNUC__)
        int gettimeofday( struct timeval *tv, struct timezone *tz );
-#endif
-
-#if !defined(_WIN32) || defined(__GNUC__)
+#else
        #include <sys/time.h>
 #endif