diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-09-08 15:59:56 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-09-08 15:59:56 +0000 |
commit | 78103685e978e892ae0a00322d9d43b82616c1ec (patch) | |
tree | f7a681ca171013d010eaf81a28138a0ea4cce604 | |
parent | 1fbc37773eecb5fffe8db4d2b4826f032cd4824d (diff) | |
download | mpc-78103685e978e892ae0a00322d9d43b82616c1ec.tar.gz |
tio_str.c: define _POSIX_C_SOURCE with a value (found on solaris)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1090 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r-- | tests/tio_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tio_str.c b/tests/tio_str.c index e86bca7..e46d887 100644 --- a/tests/tio_str.c +++ b/tests/tio_str.c @@ -23,7 +23,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . #include "mpc-tests.h" #ifdef HAVE_UNISTD_H -#define _POSIX_C_SOURCE /* apparently needed on Darwin */ +#define _POSIX_C_SOURCE 1 /* apparently needed on Darwin */ #include <unistd.h> /* for dup, dup2, STDIN_FILENO and STDOUT_FILENO */ #else #define STDIN_FILENO 0 |