/[mcrypt]/libmcrypt/lib/win32_comp.h
ViewVC logotype

Annotation of /libmcrypt/lib/win32_comp.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Thu Oct 19 17:50:56 2000 UTC (23 years, 6 months ago) by nmav
Branch: MAIN
Changes since 1.1: +3 -0 lines
File MIME type: text/plain
Added things needed for libmcrypt to be compiled as a DLL under windows

1 nmav 1.1 /* (c) D.Souflis dsouflis@acm.org */
2    
3     #ifndef _WINSTUBDL_H
4     #define _WINSTUBDL_H
5    
6     #ifdef WIN32
7     # define WIN32DLL_DEFINE __declspec( dllexport)
8     #else
9     # define WIN32DLL_DEFINE
10     #endif
11    
12     #ifdef WIN32_DLOPEN
13     #include <windows.h>
14 nmav 1.2 #ifndef RTLD_LAZY
15     # define RTLD_LAZY 1
16     #endif
17 nmav 1.1 void *dlopen(const char *module, int unused);
18     FARPROC dl_proc(HMODULE mo, const char *proc);
19     void dl_detach(HMODULE mo);
20     #endif
21    
22     #endif

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26