summaryrefslogtreecommitdiff
path: root/tests/tio_str.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2014-01-20 17:05:47 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2014-01-20 17:05:47 +0000
commit3bc17e3e23a0972ed1d7c3974de69dab31add64e (patch)
treedf89dc30217afed9fb19db5063ae22983934b89c /tests/tio_str.c
parente5268d35e00f2ca1ab90b46f374cdb46122781fa (diff)
downloadmpc-benchs_tests.tar.gz
Synchronize with r1413 from trunk.benchs_tests
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/branches/benchs_tests@1414 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tio_str.c')
-rw-r--r--tests/tio_str.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tio_str.c b/tests/tio_str.c
index b7daf9d..b4e0c34 100644
--- a/tests/tio_str.c
+++ b/tests/tio_str.c
@@ -1,6 +1,6 @@
/* tio_str-- Test file for mpc_inp_str and mpc_out_str.
-Copyright (C) 2009, 2011, 2013 INRIA
+Copyright (C) 2009, 2011, 2013, 2014 INRIA
This file is part of GNU MPC.
@@ -21,9 +21,9 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
#include "mpc-tests.h"
#ifdef HAVE_UNISTD_H
-#if !defined _POSIX_C_SOURCE
+#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 1 /* apparently needed on Darwin */
-#endif /* _POSIX_C_SOURCE */
+#endif
#include <unistd.h> /* for dup, dup2, STDIN_FILENO and STDOUT_FILENO */
#else
#define STDIN_FILENO 0