From 7e3de5de095a493accc77081fb384be8e9144250 Mon Sep 17 00:00:00 2001 From: Kuangye Guo Date: Mon, 21 Oct 2013 18:36:15 -0700 Subject: Android: Add support for Linux/Android platforms * Closes #154 --- android/config.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'android') diff --git a/android/config.h b/android/config.h index c1594cf..0d0fdb7 100644 --- a/android/config.h +++ b/android/config.h @@ -79,12 +79,3 @@ /* Define to 1 if you have the header file. */ #define HAVE_SYS_SOCKET_H 1 - -/* Add defines which Android is missing */ -#ifndef TIMESPEC_TO_TIMEVAL -#define TIMESPEC_TO_TIMEVAL(tv, ts) \ - do { \ - (tv)->tv_sec = (ts)->tv_sec; \ - (tv)->tv_usec = (ts)->tv_nsec / 1000; \ - } while (0) -#endif -- cgit v1.2.3