aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-64/ldiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/ldiv.c')
-rw-r--r--sysdeps/wordsize-64/ldiv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/wordsize-64/ldiv.c b/sysdeps/wordsize-64/ldiv.c
index f42f327..4b9ee6e 100644
--- a/sysdeps/wordsize-64/ldiv.c
+++ b/sysdeps/wordsize-64/ldiv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -16,8 +16,12 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+/* Ugly trick ahead to make the alias work. */
+#define imaxdiv __libc_imaxdiv
+
#include <inttypes.h>
#include <sysdeps/generic/ldiv.c>
+#undef imaxdiv
weak_alias (ldiv, imaxdiv)