aboutsummaryrefslogtreecommitdiffstats
path: root/src/porting.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:25:05 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:25:05 +0100
commitb2c5c74b7954279e8cc15790e168a1d4283b4e63 (patch)
tree94ad220d0362c25a42113e3e7e618b45e82056f0 /src/porting.c
parentfa003e1facb2ec5d45a28f27a0e293701c673ec6 (diff)
downloaddabmod-b2c5c74b7954279e8cc15790e168a1d4283b4e63.tar.gz
dabmod-b2c5c74b7954279e8cc15790e168a1d4283b4e63.tar.bz2
dabmod-b2c5c74b7954279e8cc15790e168a1d4283b4e63.zip
Simplify porting.{h,c}
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