summaryrefslogtreecommitdiff
path: root/soltools/checkdll
diff options
context:
space:
mode:
authorSander Vesik <svesik@openoffice.org>2001-06-22 11:36:23 +0000
committerSander Vesik <svesik@openoffice.org>2001-06-22 11:36:23 +0000
commitd1aa8c01ffdb2b614a6546fc179e37befb4a562f (patch)
tree5f728ae56d17c45161a589682cda2c99a6190054 /soltools/checkdll
parent4468be35bd21fd48928fd3651701b827a72c8e4e (diff)
Apply a patch with a workaround for IRIX.
Contributed by: The SGI Openoffice.org porting team
Diffstat (limited to 'soltools/checkdll')
-rw-r--r--soltools/checkdll/checkdll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/soltools/checkdll/checkdll.c b/soltools/checkdll/checkdll.c
index 646786607aab..f864a25d3d90 100644
--- a/soltools/checkdll/checkdll.c
+++ b/soltools/checkdll/checkdll.c
@@ -2,9 +2,9 @@
*
* $RCSfile: checkdll.c,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: nf $ $Date: 2001-04-18 09:50:15 $
+ * last change: $Author: svesik $ $Date: 2001-06-22 12:36:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -158,7 +158,7 @@ int main(int argc, char *argv[])
if ( (phandle = dlopen(argv[1], RTLD_NOW)) != NULL ) {
if ( (pfun = (char *(*)(void))dlsym(phandle, psymbol)) != NULL ) {
printf(": ok\n");
-#ifdef GCC
+#if !defined(IRIX) && defined(GCC)
_exit(0);
#else
dlclose(phandle);