/* Test for nonblocking read and write.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Linux >= 63489
Linux/SPARC >= 126977
- Linux/IA-64 >= 253953
- FreeBSD, OpenBSD, MacOS X >= 65537
+ Linux/IA-64, Linux/MIPS >= 253953
+ Linux/PPC64 >= 1048576
+ FreeBSD, OpenBSD, Mac OS X >= 65537
AIX >= 32769
HP-UX >= 8193
IRIX >= 10241
Solaris <= 7 >= 10241
Solaris >= 8 >= 20481
Cygwin >= 65537
- native Win32 >= 4097 (depends on the _pipe argument)
+ native Windows >= 4097 (depends on the _pipe argument)
*/
-#if defined __osf__ || (defined __linux__ && defined __ia64__)
+#if defined __osf__ || (defined __linux__ && (defined __ia64__ || defined __mips__))
# define PIPE_DATA_BLOCK_SIZE 270000
#elif defined __linux__ && defined __sparc__
# define PIPE_DATA_BLOCK_SIZE 140000
+#elif defined __linux__ && defined __powerpc__
+# define PIPE_DATA_BLOCK_SIZE 1100000
#else
# define PIPE_DATA_BLOCK_SIZE 70000
#endif