about summary refs log tree commit diff
path: root/sysdeps/wordsize-32/lldiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-32/lldiv.c')
-rw-r--r--sysdeps/wordsize-32/lldiv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/wordsize-32/lldiv.c b/sysdeps/wordsize-32/lldiv.c
index f666ad8331..5a2dd1cca3 100644
--- a/sysdeps/wordsize-32/lldiv.c
+++ b/sysdeps/wordsize-32/lldiv.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/lldiv.c>
 
+#undef imaxdiv
 weak_alias (lldiv, imaxdiv)