From 35f6b4845e6cd4026e34e19e7dcdb9af6fdb9314 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Thu, 12 Jun 2008 08:19:59 +0000 Subject: [PATCH] Removed the feature test macros. On Mac OS X they disable the definition of the timeval macros and on Linux they are defined by default. Thus removing them makes everything work on both platforms. --- src/serial_posix.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/serial_posix.c b/src/serial_posix.c index 2648294..b53177d 100644 --- a/src/serial_posix.c +++ b/src/serial_posix.c @@ -1,6 +1,3 @@ -#define _POSIX_C_SOURCE 199309 -#define _BSD_SOURCE - #include // malloc, free #include // strerror #include // errno