summaryrefslogtreecommitdiff
path: root/hw/xfree86/loader/xf86sym.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/loader/xf86sym.c')
-rw-r--r--hw/xfree86/loader/xf86sym.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/hw/xfree86/loader/xf86sym.c b/hw/xfree86/loader/xf86sym.c
index b4ae42f74..aae362960 100644
--- a/hw/xfree86/loader/xf86sym.c
+++ b/hw/xfree86/loader/xf86sym.c
@@ -150,9 +150,7 @@ extern void _Qp_uitoq(unsigned int *, unsigned int);
#endif
#if defined(__GNUC__)
-#ifndef __UNIXOS2__
extern long __div64(long, long);
-#endif
extern long __divdf3(long, long);
extern long __divdi3(long, long);
extern long __divsf3(long, long);
@@ -160,9 +158,7 @@ extern long __divsi3(long, long);
extern long __moddi3(long, long);
extern long __modsi3(long, long);
-#ifndef __UNIXOS2__
extern long __mul64(long, long);
-#endif
extern long __muldf3(long, long);
extern long __muldi3(long, long);
extern long __mulsf3(long, long);
@@ -172,18 +168,14 @@ extern long __udivsi3(long, long);
extern long __umoddi3(long, long);
extern long __umodsi3(long, long);
-#ifndef __UNIXOS2__
#pragma weak __div64
-#endif
#pragma weak __divdf3
#pragma weak __divdi3
#pragma weak __divsf3
#pragma weak __divsi3
#pragma weak __moddi3
#pragma weak __modsi3
-#ifndef __UNIXOS2__
#pragma weak __mul64
-#endif
#pragma weak __muldf3
#pragma weak __muldi3
#pragma weak __mulsf3
@@ -1066,7 +1058,7 @@ _X_HIDDEN void *xfree86LookupTab[] = {
# endif
#endif
#if defined(__GNUC__)
-#if !defined(__UNIXOS2__) && !defined(Lynx)
+#if !defined(Lynx)
SYMFUNC(__div64)
#endif
#if !defined(Lynx) /* FIXME: test on others than x86 and !3.1.0a/x86 */
@@ -1081,7 +1073,7 @@ _X_HIDDEN void *xfree86LookupTab[] = {
#if !defined(Lynx)
SYMFUNC(__modsi3)
#endif
-#if !defined(__UNIXOS2__) && !defined(Lynx)
+#if !defined(Lynx)
SYMFUNC(__mul64)
#endif
#if !defined(Lynx)