aboutsummaryrefslogtreecommitdiffstats
path: root/src/porting.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/porting.c')
-rw-r--r--src/porting.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/porting.c b/src/porting.c
index 79523e5..f7421b0 100644
--- a/src/porting.c
+++ b/src/porting.c
@@ -21,19 +21,6 @@
#include "porting.h"
-
-#ifndef HAVE_GETTIMEOFDAY
-#include <sys/timeb.h>
-int gettimeofday(struct timeval* t, void* timezone)
-{
- struct timeb timebuffer;
- ftime(&timebuffer);
- t->tv_sec=timebuffer.time;
- t->tv_usec=1000*timebuffer.millitm;
- return 0;
-}
-#endif
-
#ifdef _WIN32
unsigned int _CRT_fmode = _O_BINARY;
#endif