Mercurial > hg > xemacs-beta
comparison src/sysdll.c @ 863:42375619fa45
[xemacs-hg @ 2002-06-04 06:03:59 by andyp]
merge 21.4 windows changes, minimally tested
author | andyp |
---|---|
date | Tue, 04 Jun 2002 06:05:53 +0000 |
parents | 3d3049ae1304 |
children | beddd25fe24a |
comparison
equal
deleted
inserted
replaced
862:278c743f1578 | 863:42375619fa45 |
---|---|
40 | 40 |
41 #ifndef RTLD_GLOBAL | 41 #ifndef RTLD_GLOBAL |
42 # define RTLD_GLOBAL 0 | 42 # define RTLD_GLOBAL 0 |
43 #endif | 43 #endif |
44 | 44 |
45 int | 45 #ifndef RTLD_NOW |
46 dll_init (const char *arg) | 46 # define RTLD_NOW 2 |
47 { | 47 #endif |
48 return 0; | 48 |
49 } | 49 int |
50 | 50 dll_init (const char *arg) |
51 dll_handle | 51 { |
52 dll_open (const char *fname) | 52 return 0; |
53 { | 53 } |
54 return (dll_handle) dlopen (fname, RTLD_LAZY | RTLD_GLOBAL); | 54 |
55 dll_handle | |
56 dll_open (const char *fname) | |
57 { | |
58 return (dll_handle) dlopen (fname, RTLD_NOW | RTLD_GLOBAL); | |
55 } | 59 } |
56 | 60 |
57 int | 61 int |
58 dll_close (dll_handle h) | 62 dll_close (dll_handle h) |
59 { | 63 { |