summaryrefslogtreecommitdiff
path: root/src/make-prime-list.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-12 08:16:30 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-12 08:32:31 -0800
commit0d664d227cadb8cf4892e70954cd6c616192c0f8 (patch)
treee3fdd696f5fd7e1cfbb6da95f2d2c85a5ebe8ec6 /src/make-prime-list.c
parentcd4139df89d56d03c6e953153b33b33ba054b079 (diff)
downloadcoreutils-0d664d227cadb8cf4892e70954cd6c616192c0f8.tar.xz
factor: port to systems with rpl_malloc
* src/make-prime-list.c (malloc): Undef. This fixes a problem on AIX 8.20 reported by Michael Felt in <http://bugs.gnu.org/12841>.
Diffstat (limited to 'src/make-prime-list.c')
-rw-r--r--src/make-prime-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/make-prime-list.c b/src/make-prime-list.c
index a4c0a3b7b..24a7cdace 100644
--- a/src/make-prime-list.c
+++ b/src/make-prime-list.c
@@ -28,6 +28,7 @@ this program. If not, see http://www.gnu.org/licenses/. */
/* Deactivate config.h's "rpl_"-prefixed definitions of these symbols. */
#undef fclose
+#undef malloc
#undef strerror
struct prime