Apply a patch with a workaround for IRIX.

Contributed by: The SGI Openoffice.org porting team
This commit is contained in:
Sander Vesik 2001-06-22 11:36:23 +00:00
parent 4468be35bd
commit d1aa8c01ff

View file

@ -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);