mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Remove lockfiles and other changes
This commit is contained in:
parent
d188c1c37f
commit
94c45b7ff3
8 changed files with 38 additions and 5 deletions
|
@ -67,6 +67,25 @@ dlsym(void *handle, char *name)
|
|||
}
|
||||
#endif /*HAVE_DL_SHL_LOAD*/
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#warning Needs some more work. Based on Disastry@saiknes.lv patch.
|
||||
|
||||
#define dlopen(PATHNAME,MODE) ((void *)LoadLibrary(PATHNAME))
|
||||
#define dlclose(HANDLE) FreeLibrary(HANDLE)
|
||||
char *dlerror(void)
|
||||
{
|
||||
static char dlerrstr[10];
|
||||
int err=GetLastError();
|
||||
if (!err)
|
||||
return NULL;
|
||||
sprintf(dlerrstr, "%u", err);
|
||||
return dlerrstr;
|
||||
}
|
||||
#define dlsym(HANDLE,NAME) GetProcAddress(HANDLE,NAME)
|
||||
#endif /*__MINGW32__*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef struct ext_list {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue