CVS: sml-dist/src/runtime/gc import-heap.c,1.10,1.11
Matthias Blume <[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj.commits |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/smlnj/sml-dist/src/runtime/gc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21032
Modified Files:
import-heap.c
Log Message:
dlopen trick does not work(yet) for win32
Index: import-heap.c
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/src/runtime/gc/import-heap.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** import-heap.c 14 Jan 2005 23:53:19 -0000 1.10
--- import-heap.c 25 Feb 2005 23:28:42 -0000 1.11
***************
*** 24,28 ****
#include "heap-io.h"
! #ifdef DLOPEN
#include <dlfcn.h>
#endif
--- 24,28 ----
#include "heap-io.h"
! #if defined(DLOPEN) && !defined(OPSYS_WIN32)
#include <dlfcn.h>
#endif
***************
*** 105,109 ****
} else {
/* fname == NULL, so try to find an in-core heap image */
! #ifdef DLOPEN
void *lib = dlopen (NULL, RTLD_LAZY);
void *vimg, *vimglenptr;
--- 105,109 ----
} else {
/* fname == NULL, so try to find an in-core heap image */
! #if defined(DLOPEN) && !defined(OPSYS_WIN32)
void *lib = dlopen (NULL, RTLD_LAZY);
void *vimg, *vimglenptr;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click